Hi everyone,
I have an issue using Route Rules and I would like to have your help to solve it.
I have a router which have an EoIP tunnel on it to directly reach another router to the internet, and a physical interface which follow another path to another router to the internet.
I set a different NAT Source IP to all natted devices passing through this router so I can intercept them and move on the tunnel or leaving them on the “standard” path on physical interface.
In /ip route rule I added:
/ip route rule
add src-address=1.2.3.0/24 table=EoIP_Tunnel
This rule works perfectly for all traffing passing through this router, but not for traffic natted by the router itself, which instead follows the standard rules ignoring the rule I added.
/ip firewall nat
add action=src-nat chain=srcnat disabled=yes src-address=10.2.3.0/24 to-addresses=1.2.3.4
Could you explain me why and how can I solve this?