Pfctl: Syntax error
-
1.0.1-SNAPSHOT-02-14-2007
System Logs show:
php: : There were error(s) loading the rules: /tmp/rules.debug:116: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [116]: pass in quick on $lan route-to { ( LOADBALANCER ) , ( LOADBALANCER ) } round-robin from 172.16.0.0/16 to any keep state label "USER_RULE: Default LAN -> any"
php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:116: syntax error pfctl: Syntax error in config file: pf rules not loaded The line in question reads [116]: pass in quick on $lan route-to { ( LOADBALANCER ) , ( LOADBALANCER ) } round-robin from 172.16.0.0/16 to any keep state label "USER_RULE: Default LAN -> any"
The error is shown twice.
I should delete the rule and try again?
-
If I have the default LAN rule, that works fine (ie it is parsed fine). If I then change that rule so that the gateway is LOADBALANCER (that is what my pool is called) then I get this error.
-
reverting back to 1.0.1-SNAPSHOT-02-09-2007 and the rule is parsed ok.
-
Try upgrading and redo the load balancing pools.