• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Syntax error in config file

Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
6 Posts 3 Posters 3.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    wallabybob
    last edited by Jan 28, 2009, 9:52 PM

    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.

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jan 28, 2009, 10:05 PM

      What interface does 192.168.37.200 reside on?

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by Jan 28, 2009, 10:33 PM

        @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.

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by Jan 29, 2009, 6:18 AM

          I mean what interface to the OS, Ethernet or VLAN or PPPoE, or?

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by Jan 29, 2009, 11:31 AM

            @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

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by Feb 1, 2009, 3:11 AM

              Most likely could not lookup the cached interface.  Adding code to log an error for this condition.

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received