2 default routes when ROS starts
Posted: Mon Nov 11, 2019 1:45 am
Hi guys, i want to route all of the local traffic through a VPN L2TP connection. Everything works. The part i am stuck at, is that every time i reboot mikrotik, the routes table generates 2 default routes with the same distance = 1.
I tried to disable both default routes (wlan client is the gateway to the internet, and l2tp client) and set static routes with distance 1 and 2. L2TP = 1, wlan = 2, but then, the wlan doesnt route and vpn doesnt connect.
The only way to make it work is to manually log into the ROS go to ip routes and delete the wlan route. Then everything works on my laptop and i get the remote public ip address from the vpn server. I somehow need this to be done automatically.
I tried to disable both default routes (wlan client is the gateway to the internet, and l2tp client) and set static routes with distance 1 and 2. L2TP = 1, wlan = 2, but then, the wlan doesnt route and vpn doesnt connect.
The only way to make it work is to manually log into the ROS go to ip routes and delete the wlan route. Then everything works on my laptop and i get the remote public ip address from the vpn server. I somehow need this to be done automatically.