OPNsense Forum
Archive => 19.1 Legacy Series => Topic started by: dreamerman 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.
-
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.