Blocking Internet Access to IP Range

Started by rubber_chicken, June 19, 2022, 07:15:59 AM

Previous topic - Next topic
June 19, 2022, 07:15:59 AM Last Edit: June 19, 2022, 07:19:16 AM by rubber_chicken
I'm new to opnsense and I've been trying to block internet access to IP range 192.168.1.4-99 in my network, unsuccessfully. My setup is as below:

I first created an alias of the IP range:
https://ibb.co/G3QbCrN


Then added the firewall rules (#3 in the list) for local network:
https://ibb.co/km9RwSt

Can someone help me with how I can correct this to get it working? I can confirm that even without alias, if I enter single host in the firewall rule like 192.168.1.39/24, internet is still being accessed by the device.

Thanks.

Delete the second rule from the top.
Rules are order based from top down.