Here is what’s probably a silly question. I want to open a VPN connection. The Mikrotik client box in question is in a location in Kazakhstan where connection to the local ISP is a bit odd. The box is first assigned an IP address in a closed network dynamically, then it opens a L2TP tunnel to the ISP for authentication. So on the Mikrotik the uplink to the local ISP looks like this (and there is an extra script that updates the IP address of the L2TP tunnel endpoint regularly in case the connection goes down):
Now I want to open a real VPN connection, so I do something like this (for testing purposes I use the values for a PPTP connection to VPNbook from their public website):
The interface comes up just fine, but it sits idle and no traffic gets routed over it, everything still goes over the underlying L2TP tunnel. Shouldn’t the add-default-route=yes parameter take care of that? What am I missing?
As you can see, 0.0.0.0/0 go through L2TP, because of a distance. 0 is better than 1. You need put in pptp client “add default gateway” or make static routing to resourses in net which you want to be reachable via pptp client. That’s it.