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

    Error using an interface subnet as source in rules on interfaces other than LAN

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 2 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.
    • A
      alexnil
      last edited by

      When using an interface subnet as source in rules on interfaces other than LAN (and probably WAN, however I've not tested this) with recent snapshots up to about 1st of May (pfSense-Full-Update-2.0-ALPHA-ALPHA-20090430-0711 works correctly), I get such error:

      
      php: : There were error(s) loading the rules: /tmp/rules.debug:125: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [125]: pass in quick on $OPT1 from /24 to any keep state label "USER_RULE: Default allow OPT1 to any "
      
      

      Seems, generated rule misses an interface address before mask.

      Is this my fault?

      rules.debug.txt

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        Should be fixed.

        1 Reply Last reply Reply Quote 0
        • A
          alexnil
          last edited by

          Checked snapshot pfSense-Full-Update-2.0-ALPHA-ALPHA-20090529-0517  - still the same.

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            Check the other snapshot i fixed it correctly this time :)

            1 Reply Last reply Reply Quote 0
            • A
              alexnil
              last edited by

              Thank You, ermal!

              I've checked snapshot pfSense-Full-Update-2.0-ALPHA-ALPHA-20090530-0319, the problem is fixed.

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