Hi, could someone tell me if I am missing something.
2 internet links on an RB493G router (both PPPoE if it makes any difference), link 1 is the default gateway for the router. i.e. 0.0.0.0/0 using link1 as the gateway.
Incoming L2TP IPSEC connections coming in through link1 work fine and connect with no problems
Now I want to get the IPSEC VPN traffic coming into the router on link2 but still leave the default gateway for the router as link1 so I have created another route on the router as 0.0.0.0/0 with routing-mark=link2 using gateway link2.
I have taken a single incoming IPSEC clients with IP address 188.8.131.52 and set that client to connect to the IP address of link2 instead of link1.
In order to ensure inbound traffic from link2 is sent back out of link2 I have tried adding a mangle rule that traps all traffic with destination IP 184.108.40.206 (not ideal but serves to test this) and adds routing-mark=link2 to it to force it to use the other route when a routing decision is made. I have tried this in both the OUTPUT and PRE-ROUTING chains but traffic is still trying to use the default route as though the routing-mark I have set in the mangle rule has had no effect in the routing decision.
I'd be really grateful if anyone can shed some light on this for me, I suspect I've got the wrong end of the stick here?