Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Blocking Internet Access to IP Range
« previous
next »
Print
Pages: [
1
]
Author
Topic: Blocking Internet Access to IP Range (Read 971 times)
rubber_chicken
Newbie
Posts: 2
Karma: 0
Blocking Internet Access to IP Range
«
on:
June 19, 2022, 07:15:59 am »
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.
«
Last Edit: June 19, 2022, 07:19:16 am by rubber_chicken
»
Logged
Demusman
Sr. Member
Posts: 304
Karma: 13
Re: Blocking Internet Access to IP Range
«
Reply #1 on:
June 19, 2022, 01:26:01 pm »
Delete the second rule from the top.
Rules are order based from top down.
Logged
rubber_chicken
Newbie
Posts: 2
Karma: 0
Re: Blocking Internet Access to IP Range
«
Reply #2 on:
June 20, 2022, 06:31:01 am »
Works, thanks!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Blocking Internet Access to IP Range