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

    Syntax error in config file

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 1.3k 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.
    • B
      begbert
      last edited by

      php: : There were error(s) loading the rules: /tmp/rules.debug:32: syntax error /tmp/rules.debug:46: syntax error /tmp/rules.debug:47: syntax error /tmp/rules.debug:86: syntax error /tmp/rules.debug:89: syntax error /tmp/rules.debug:90: syntax error /tmp/rules.debug:110: syntax error /tmp/rules.debug:111: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [32]: scrub in on $WAN all fragment reassemble

      Getting this when trying to reload rules.

      /tmp/rules.debug:
      http://pastebin.com/3VeBfD4D

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

        Somehow you have an alias named WAN. I thought we prevented that from being allowed, as it will cause exactly this kind of problem.

        fix your alias name to something else, like WANIP or similar, and it should work.

        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.