Hello. I need to use l2tp connection for work, but when i do i lose internet access. If i use setting "Use this connection only for resources on its network" in network manager then i lose acess to devices in vpn network. How can i have l2tp connection be able to connect to devices on it's network and also have internet access on my machine?
Now i have a shortcut for this command:
ip route | grep 'default dev ppp0' && sudo ip route del default dev ppp0 proto static scope link metric 50 || sudo ip route add default dev ppp0 proto static scope link metric 50
This removes default route for ppp0 if it exists or adds if it does not exist. To quickly gain internet access and then swith default route to gain access to devices on vpns network.
Is it even possible to have both internet and access to devices on vpn network simultaniously?
No comments:
Post a Comment