Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Block a device by IP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Block a device by IP (Read 2574 times)
dreamerman
Jr. Member
Posts: 59
Karma: 1
Block a device by IP
«
on:
May 11, 2019, 12:34:35 pm »
Hi, is there a way to temporarily block internet or network access based on IP or MAC address of a device? I have assigned static addresses for every device on my network. I wonder if I can use Mac Access Control to deny a MAC address? Cheers.
Logged
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD
ruggerio
Sr. Member
Posts: 295
Karma: 11
Re: Block a device by IP
«
Reply #1 on:
May 11, 2019, 06:13:02 pm »
Thats quite easy. Create e.g. an alias for blocked_internal_IP (type URL (IPs))
Put all the ips in that alias. Create a blocking rule within the interface/net you want to block. Choose as source the newly created alias. If using target any/any, they will be blocked.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Block a device by IP