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

    Traffic shaper wizard fails on latest stable 1.2 build

    Scheduled Pinned Locked Moved Traffic Shaping
    3 Posts 1 Posters 1.7k 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.
    • P
      pwnell
      last edited by

      I am trying to enable the traffic shaper, but I keep running into this error no matter what options I choose:

      There were error(s) loading the rules: /tmp/qwanRoot.rules:17: syntax error pfctl: Syntax error in config file: pf rules not loaded pfctl: load anchors - The line in question reads [17]: altq on re0 hfsc bandwidth 200Kb queue { qwanRoot }
      

      Here are the relevant lines from /tmp/qwanRoot.rules (Line 17 is the one starting with  queue qwanRoot label…"

      pass in quick on $wan proto tcp from any to <sbs> port = 987 keep state  queue (qwanRoot, qwanacks) label "USER_RULE: NAT Remote Web Workplace HTTPS to SBS"
       queue qwanRoot label "USER_RULE"
      pass in quick on $lan proto tcp from any to 205.44.95.92 port = 13091 keep state  queue (qwanRoot, qlanacks) label "USER_RULE: Allow FHB Support tool - WNELL"
      pass in quick on $lan proto tcp from any to any port = 3101 keep state  queue (qwanRoot, qlanacks) label "USER_RULE: BES"</sbs>
      

      How can I fix this?

      1 Reply Last reply Reply Quote 0
      • P
        pwnell
        last edited by

        If someone could just tell me where in /etc/inc/filter.inc I should be looking for the code that generates the invalid

        queue qwanRoot label "USER_RULE"

        entry.  This happens for all *.rules files.  Almost like an empty line in some config file is causing a spurious entry to be written to the rules file just after the NAT rules have been processed but just before the outbound LAN rules are processed.

        1 Reply Last reply Reply Quote 0
        • P
          pwnell
          last edited by

          Any ideas?

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