Navigation

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

    Syntax error in config file

    1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    3
    6
    3471
    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

      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

        What interface does 192.168.37.200 reside on?

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob last edited by

          @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

            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

              @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

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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Products

                • Platform Overview
                • TNSR
                • pfSense Plus
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy