• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 May 27, 2009, 10:41 PM

    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 May 28, 2009, 11:05 AM

      Should be fixed.

      1 Reply Last reply Reply Quote 0
      • A
        alexnil
        last edited by May 29, 2009, 8:52 PM

        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 May 29, 2009, 9:27 PM

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

          1 Reply Last reply Reply Quote 0
          • A
            alexnil
            last edited by May 30, 2009, 10:15 AM

            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
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received