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

    Help Needed with Errors

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 1.9k 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
      Wasca
      last edited by

      Hi Guys

      I'm seeing the following errors in the system log and was wondering if someone can point me in the right direction to correct them

      May 28 20:45:01        php: : There were error(s) loading the rules: /tmp/rules.debug:73: syntax error /tmp/rules.debug:74: syntax error /tmp/rules.debug:77: syntax error /tmp/rules.debug:78: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [73]: no nat on ath0_wlan0 proto tcp from (ath0_wlan0) to /
      
      May 28 20:45:01 	php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:73: syntax error /tmp/rules.debug:74: syntax error /tmp/rules.debug:77: syntax error /tmp/rules.debug:78: syntax error pfctl: Syntax error in config file: pf rules not loaded The line in question reads [73]: no nat on ath0_wlan0 proto tcp from (ath0_wlan0) to /
      
      May 28 20:45:01 	php: : The command '/sbin/pfctl -o basic -f /tmp/rules.debug' returned exit code '1', the output was '/tmp/rules.debug:73: syntax error /tmp/rules.debug:74: syntax error /tmp/rules.debug:77: syntax error /tmp/rules.debug:78: syntax error pfctl: Syntax error in config file: pf rules not loaded'
      

      The system I'm working with has 4 interfaces (including a wifi interface) bridged together into another interface called LOCALNET

      LOCALNET is running a DHCP server on the 192.168.16.0 subnet (Client range is 16.90 <–> 16.100).
      LOCALNET has an IP address of 192.168.16.1

      I'm not sure what I need to check to get these errors corrected, if you need any more info let me know.

      Wasca

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        What version are you running?

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

          I'm running version….

          2.0.1-RELEASE (i386)
          built on Sun Dec 25 17:37:00 PST 2011
          FreeBSD 8.1-RELEASE-p7

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            I think what you have there is from having a port forward with "any" as a destination in certain circumstances that's been fixed since but it's hard to say with the info provided. What port forwards and outbound NAT do you have defined?

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

              Ahh ok.

              I've attached a screen shot of the NAT port forward page and the Outbound NAT. This system is using Dansguardian, I didn't set that up so I'm not even 100% sure this is correct.

              Could you have a look at the screen shot and let me know if you think this is the culprit.

              port_forward.jpg
              port_forward.jpg_thumb
              outbound_nat.jpg
              outbound_nat.jpg_thumb

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Does your LOCALNET interface actually have an IP address?

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.