Hi all,
Got an interesting problem. I have a solution, but it’s horribly clunky, so I wonder if anybody knows a better way of doing it.
I have a RouterBoard with two IP addresses and two gateways, let’s call the IPs 1.1.1.1 and 2.2.2.1 and the gateways 1.1.1.2 and 2.2.2.2
Everything beyond the RB is completely out of my control.
I need to create two L2TP tunnels from the RB back to the same IP on an LNS outside on the Internet somewhere.
When creating an L2TP tunnel, there doesn’t seem to be any way of specifying which source IP (i.e. 1.1.1.1 or 2.2.2.1) to use - if I could do this, then routing rules would permit routing the correct tunnel through the correct gateway. The only thoughts I had were specifying ‘Local address’ in the PPP profile (but that doesn’t appear to change the source address) and ‘outgoing filter’ (but this only appears in the filter not the mangle table).
Any ideas?