Is there a way in Routeros 7 (7.19.1) to have fasttrack and mangle rules coexist on a multi WAN router configured with recursive rules?
by marking the connections in prerouting and then marking the routing it is necessary to exclude the marked connections from the fasttrack rule (applying the connection-state no-mark filter) otherwise they do not work.
Is there a more efficient way to manage mangle rules and fasttrack? Thanks in advance.
In a limited sense yes, to give context e.g you have PCC load balancer have 3 internet connection
ip/firewall/filter/add chain=forward connection-mark=no-mark connection-state=related,established action=fasttrack-connection
and you mark connection on both ISP1 AND ISP2 and the last connection which is bigger ISP/bandwidth doesn’t have mark at all you can fasttrack the 3rd ISP, other than this scenario I don’t think you can use them at the same time
Routing Rules + Fasttrack + Recursive Routing works in my testing though
Thanks for the confirmation. That’s exactly what I did. Let’s say that in this way the fasttrack is used only for the residual connections without connection-mark. In fact, I modified the fasttrack rule filtering it only for the no-mark connections.
Routing Rules + Fasttrack + Recursive Routing works in my testing though
Yes I confirm. The problem arises only if I introduce mangle rules to force single connections. In the absence of balancing but using static rules for single connections, I also tested the routing rules directly (without using mangle) to directly route single subnets and it works correctly without conflicting with fasttrack. This last aspect is not very clear to me in fact.
No worries
yeah it’s more of a hybrid approach the reason behind routing rules works because it doesn’t need sophistication like with mangle because it need just a source and destination and where table the connection should be place.