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

    Floating rules order

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 4.5k 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
      Boolah
      last edited by

      Can someone explain the order in which floating rules are applied in relation to rules set on a specific interface?

      I setup a test floating rule (position #2) to route traffic to a specific speed test site through gateway 2.  The rule applies to all of my local interfaces.  By default all other traffic should go through gateway 1.  However the only way I can get the rule to apply is if I check the "Apply the action immediately on match" checkbox on the floating rule.  If I remove the floating rule and place the same rule on my LAN interface directly, traffic is correctly routed out of gateway 2.

      I'm guessing that the floating rules are applied after all interface specific rules are applied, unless the "Apply the action immediately on match" option is checked on the rule?  Can someone confirm this?

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

        With that box checked, the rules are "first match wins" as in the processing stops when a match is found.

        If you uncheck that box, the rules only apply if no other rules match that connection.

        Only floating rules offer that option. Rules on LAN, WAN, etc, automatically have that option behind the scenes - the first match always wins on those lists.

        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.