Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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.

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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