Error using an interface subnet as source in rules on interfaces other than LAN
-
When using an interface subnet as source in rules on interfaces other than LAN (and probably WAN, however I've not tested this) with recent snapshots up to about 1st of May (pfSense-Full-Update-2.0-ALPHA-ALPHA-20090430-0711 works correctly), I get such error:
php: : There were error(s) loading the rules: /tmp/rules.debug:125: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [125]: pass in quick on $OPT1 from /24 to any keep state label "USER_RULE: Default allow OPT1 to any "
Seems, generated rule misses an interface address before mask.
Is this my fault?
-
Should be fixed.
-
Checked snapshot pfSense-Full-Update-2.0-ALPHA-ALPHA-20090529-0517 - still the same.
-
Check the other snapshot i fixed it correctly this time :)
-
Thank You, ermal!
I've checked snapshot pfSense-Full-Update-2.0-ALPHA-ALPHA-20090530-0319, the problem is fixed.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.