Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Simple FW rule yet no internet
« previous
next »
Print
Pages: [
1
]
Author
Topic: Simple FW rule yet no internet (Read 2041 times)
Imnot A Robot
Newbie
Posts: 28
Karma: 0
Simple FW rule yet no internet
«
on:
November 26, 2021, 03:13:09 pm »
Can someone help me understand why I'm not getting internet on my IoT interface when I enable the Block Private Networks rule?
Private networks are: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
There's 1 WAN interface, 1 LAN (192.168.1.1), & 1 IoT (192.168.2.1)
And I'm unable to insert the screenshot URL so I'm attaching it. Please have a look.
Thanks,
Chris
«
Last Edit: November 26, 2021, 06:33:13 pm by Imnot A Robotyay
»
Logged
nodakbarnes
Newbie
Posts: 18
Karma: 0
Re: Simple FW rule yet no internet
«
Reply #1 on:
November 28, 2021, 09:46:11 pm »
So I'm fairly new to OPNsense myself but shouldn't this rule be covered under Interfaces --> WAN and then checking the box under Generic configuration for "Block private network"?
Once this is done it places an automatically generated rule in the firewall as desired (it did for mine at least). You need to click the little down arrow at the top of the rules to expand the automatically generated and you should see it.
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: Simple FW rule yet no internet
«
Reply #2 on:
November 28, 2021, 11:29:14 pm »
Probably because your first rule is blocking access to the gateway, and in particular DNS.
You just need two rules. One to allow IOT net to access IOT address (you can limit this to just DNS if you want, but there may be other gateway services that are relevant, such as NTP) and then a second allow rule with destination of private networks but inverted, so that it allows everything except for a private network destination.
Logged
Imnot A Robot
Newbie
Posts: 28
Karma: 0
Re: Simple FW rule yet no internet
«
Reply #3 on:
November 29, 2021, 03:03:57 am »
Awesome it works!
Thanks OPNsense community!
Chris
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Simple FW rule yet no internet