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

Pfctl: Syntax error

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 2 Posters 2.1k 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.
  • S
    sai
    last edited by Feb 15, 2007, 9:49 AM Feb 15, 2007, 9:34 AM

    1.0.1-SNAPSHOT-02-14-2007

    System Logs show:

    php: : There were error(s) loading the rules: /tmp/rules.debug:116: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [116]: pass in quick on $lan route-to { ( LOADBALANCER ) , ( LOADBALANCER ) } round-robin from 172.16.0.0/16 to any keep state label "USER_RULE: Default LAN -> any"

    php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:116: syntax error pfctl: Syntax error in config file: pf rules not loaded The line in question reads [116]: pass in quick on $lan route-to { ( LOADBALANCER ) , ( LOADBALANCER ) } round-robin from 172.16.0.0/16 to any keep state label "USER_RULE: Default LAN -> any"

    The error is shown twice.

    I should delete the rule and try again?

    1 Reply Last reply Reply Quote 0
    • S
      sai
      last edited by Feb 15, 2007, 9:52 AM

      If I have the default LAN rule, that works fine (ie it is parsed fine). If I then change that rule so that the gateway is LOADBALANCER (that is what my pool is called) then I get this error.

      1 Reply Last reply Reply Quote 0
      • S
        sai
        last edited by Feb 15, 2007, 12:23 PM

        reverting back to 1.0.1-SNAPSHOT-02-09-2007  and the rule is parsed ok.

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by Feb 15, 2007, 3:23 PM

          Try upgrading and redo the load balancing pools.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received