Floating rules order
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?
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.