I've set up an OpenVPN daemon on an Ubuntu server of mine and as soon as I connect to it from my Ubuntu laptop with a Network Manager plug-in web pages won't open any more (but get ok as soon as I disconnect from the VPN).

I've tried to use command-line OpenVPN client and it works ok (both Internet and VPN are accessible). But when I use Network Manager - only local and VPN hosts are accessible.


You are most likely tunneling ALL traffic through the VPN. This "feature" is enabled by default in Network Manager, and it doesn't care what you have your OpenVPN settings set to.

From the VPN config in Network Manager, click "IPV4 Settings" tab, then select “Automatic (VPN) addresses only” from the "Method:" dropdown.

I had this same issue for quite a while and figured it was an issue with my OpenVPN config file, but alas, it's a feature of Network Manager.

Edit: You may also have to add a DNS server like Google public DNS to your DNS server list.

  • Most VPN solutions change your nameservers to point to the DNS servers given by the VPN. Many VPN providers only set up DNS for local domains, and do not have forwarding services. – earthmeLon Jul 8 '15 at 22:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.