I’ve got a Nat’d customer that I want to use one specific WAN IP address for. So I setup a prerouting mangle rule that makes a new routing mark without passthrough if the source is their local 10. address:
add action=mark-routing chain=prerouting
new-routing-mark=Acme passthrough=no src-address=10.0.1.94
Then in IP->routes, I setup a route that I thought would route just Acme’s traffic down the wan IP yy.yy.yy.yy with the wan gw being xx.xx.xx.xx:
add check-gateway=ping distance=1 gateway=
xx.xx.xx.xx pref-src=yy.yy.yy.yy routing-mark=Acme
I have my mangle rule up near the top of the mangles before other packet marking and the distance in IP routes is set to be before the other routes, but traffic for this one customer still goes down the wan IP from the def’t route.
Does anyone know what I’m doing wrong here? Or is there a more elegant way of doing this? I’d still like them to use my DNS cache on this router and go through my simple ques.
Thanks in advance for any input!