Syntax error in config file
-
I recently "upgraded" to 1.2.3-20090128-0504 from 1.2.1.
Soon after startup Status -> System logs -> System shows a couple of entries:
php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:153: syntax error pfctl: Syntax error in config file: pf rules not loaded The line in question reads [153]: pass in quick on $lan route-to ( 192.168.37.200 ) from 192.168.211.128/25 to 192.168.37.192/28 keep state label "USER_RULE: LAN and DMZ"
and I can't get web access to the WAN. I edited the corresponding rule to disable it, saved the rule, clicked apply changes and the rules were apparently loaded without problem and I had web access to the WAN.
-
What interface does 192.168.37.200 reside on?
-
@cmb:
What interface does 192.168.37.200 reside on?
192.168.37.200 is a router on the 192.168.37.192/28 network. The pfSense interface to this network has address 192.168.37.197.
The rule in question was unchanged from 1.2.1 days.
-
I mean what interface to the OS, Ethernet or VLAN or PPPoE, or?
-
@cmb:
I mean what interface to the OS, Ethernet or VLAN or PPPoE, or?
Currently its ethernet using udav0 (USB to Ethernet adapter). No VLAN or PPPOE
-
Most likely could not lookup the cached interface. Adding code to log an error for this condition.