Page 1 of 1

Mangle Rules Order/Matching

Posted: Fri Mar 09, 2012 11:09 pm
by itcoresys
Do mangle rules get processed in order?

I have two mangle rules and both rules are being hit by each packet and the last matching rule is the packet mark that wins.

Id like the first matching mangle rule to mark the packet and no more possible matches with other mangle rules.

Re: Mangle Rules Order/Matching

Posted: Fri Mar 09, 2012 11:34 pm
by tws101
When editing the second mangle rule under the general tab add your first routing mark and check the is not exclusion box to the left of it.

So the second rule will only trigger if the packet is not already marked by "routing mark" in addtion to its other instructions.

You can also control this with the pass-through option.