I tried to simplify it and see if the simple approach works but nothing.
So my latest config is a new routing table, one rule to mark routing to that routing table and one route to 0.0.0.0/0 with that routing table and it won't work.
The same route works if I add a route policy rule and force the packet to that routing table without marking the packet.
Some parts of the configuration follows
Code: Select all
/routing table
add disabled=no fib name=home5g
/ip firewall mangle
add action=mark-connection chain=prerouting dst-address-list=!RFC new-connection-mark=CM-HOME passthrough=yes src-address-list=RFC
add action=mark-routing chain=prerouting connection-mark=CM-HOME new-routing-mark=home5g passthrough=yes
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.255.254.1 pref-src="" routing-table=home5g scope=10 suppress-hw-offload=no target-scope=10