Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Policy based route FW rules without quick match, just would not match
« previous
next »
Print
Pages: [
1
]
Author
Topic: Policy based route FW rules without quick match, just would not match (Read 540 times)
funfuck1337
Newbie
Posts: 4
Karma: 0
Policy based route FW rules without quick match, just would not match
«
on:
February 20, 2024, 02:34:07 pm »
I just set up dual WAN in my environment and tried to add gateway-specified rules without quick match.
PBR rules will never match if you have quick match
unchecked
.
Attached my rule setup:
dead img /
Everything works great if quick match is checked.
I have tried the same rule on every type of rule set (floating, interface group, interface).
I am wondering if it is my issue. Could anyone try or explain this symptom?
Or this is the limitation that quick match could not be disabled when gateway is specified in the rule.
«
Last Edit: June 11, 2024, 05:15:08 pm by funfuck1337
»
Logged
tiermutter
Hero Member
Posts: 1097
Karma: 61
Re: Policy based route FW rules without quick match, just would not match
«
Reply #1 on:
February 20, 2024, 02:49:59 pm »
First match is fine there as it is for most other rules you need...
Having loads of rules on several interfaces, also doing PBR, there is only one last match rule I created myself.
Logged
i am not an expert... just trying to help...
funfuck1337
Newbie
Posts: 4
Karma: 0
Re: Policy based route FW rules without quick match, just would not match
«
Reply #2 on:
June 11, 2024, 05:14:41 pm »
OK, finally i figure it out after a while.
Rule first match and last match really works like the name.
First match would just work like a normal rule. First-come-first-serve according to the rule order.
But with last match everything is inverted. I would match the non-quick rule after all first match rule.
And it would match the non-quick rule from the bottom to the top accordingly, instead of from top to bottom like quick match.
A lesson for me.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Policy based route FW rules without quick match, just would not match