Route through to l2tp-client

I have a Mikrotik with the default Home AP dual setup. I just got the l2tp-client going on an IP and I want to route everything through it.

https://s.natalian.org/2017-08-31/l2tp.txt

I expected “Add Default Route” in the l2tp-client to do it, but it just stops my internet working until I removed the setting.

Why? Is it because there are two 0.0.0.0 default gateways here?

If it is because of the two conflicting routes, why doesn’t the UI point that out? Why doesn’t the UI offer at least to disable the 192.168.1.1 rule ?

Is there some firewall setting I am missing?

Do you have a rule like this:
“/ip firewall nat add chain=srcnat out-interface=A&A action=masquerade”

Hello,

There are no errors as far as the router is concerned. Just a “code 18” error. :wink:

Play with your distance settings. The default route NOT to be used should be, for example, set to 5 and the one to be used set to 1. The value of “0” should be kept for the router’s local interfaces with ip addresses.

Have you added a masquerade rule fir traffic going through your l2tp tunnel??



Sent from Tapatalk

Also! Use IP addresses for the gateway field, not interface names.


Sent from Tapatalk