-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Block private networks" seems to create a defective firewall rule (cosmetic problem only) #7060
Comments
|
How was this diagnosed... by trusting pfctl output or by testing the actual rule? |
|
By looking at the automatic rule in the GUI. Try it for WAN, for example and look at the firewall rules. |
|
Screenshot for context please. |
|
Could be cosmetical from the last commit that I did. This isn’t even diagnostics data. |
|
Yes, sure looks so: So it is probably bad formatting. |
|
Not something that is easy to spot... 52f3939 Thanks for the report! |

The interface setting "block private networks" creates an automatic rule that shows the following networks in it: 10.0.0.0/8, 27.0.0.0/8, 00.64.0.0/10, 72.16.0.0/12, 92.168.0.0/16.
Expected behavior
The networks seem to be shortened, they should be 10.0.0.0/8, 127.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16
Additional context
It seems like 23.7.8 did not expose this behaviour. See https://forum.opnsense.org/index.php?topic=37389.0.
I do not know if opnsense/core contains the root cause, because it did not find this in the source.
Environment
OPNsense 23.7.9 (amd64).
The text was updated successfully, but these errors were encountered: