Ubuntu – No internet access when I’m connect to the company’s VPN

internetnetwork-managernetworkingpptpvpn

I googled my problem and I've read some questions in Ask Ubuntu, but I didn't solve my problem.

I connect to a PPTP VPN server and it works well, but when I'm connected to that VPN I don't have Internet access but private network access.

If I check "Use this connection only for resources on its network", I have Internet access, but this way I haven't access to my company's private network.

What's the problem? Help, please.

Best Answer

First, look at the company's policy on VPN connections. What you're trying to do may be disallowed. If you have a VPN to the company, and use the internet to get subverted by a Black Hat, then the Black Hat has a VPN to the company with your identity. If you access the internet through the VPN and whatever else the company requires, if you get subverted, they bear some responsibility.

Take a look at the route you have when connected and not connected to the VPN, with netstat -rn. Read man route. Be aware - when you fiddle with routes, you can end up with nowhere to send packets, if you're not careful.

Related Question