It just came to my attention that the priorities are changed in 6.15 vs older mtik versions (maybe even sooner than 6.15 can’t be sure).
Let’s say for instance that:
-There is a localnet and two internet interfaces inet1 and inet2.
-localnet has the subnet 192.168.1.1/24
-there is a pc with 192.168.1.10/24 in the localnet.
-Two routing marks exist one inet1mark and one inet2mark for each internet interfaces respectively.
If I put a mangle prerouting rule to force 192.168.1.10 src ip to get the inet2mark with passthrough set to “no”
and then another rule below that which sets routing mark to inet1mark with no other filters
then 192.168.1.10 should still go through inet2mark because it is before the other rule and has no passthrough.
Well this is not the case, I still have a match on the second rule. This is wrong, it should have been the other way arround and I am pretty sure it was correct in previous versions.
Any thoughts?