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

After installing OpenVPN properly (network-manager-openvpn) and setting up my VPN, I am not able to connect to any internet page or access anything that's remote. Pinging stuff is totally dead.

I have absolutely no idea on how to proceed from now. What should I do?

share|improve this question
up vote 3 down vote accepted

It's perfectly normal, as by default, all connections are made through your VPN. You have two options:

  • you can configure you VPN server to let connections to the outside go through the VPN
  • you can configure you client to only use your VPN for connections to other machines in the private network
share|improve this answer
Hi Eraser. Good ideas! Any idea on how I do that in my OpenVPN conf? – Industrial Jan 26 '11 at 13:36
A quick google search with "openvpn route internet traffic" will give you many answers, like [this one][1], for example [1]… – lmontrieux Jan 26 '11 at 13:53

Eraser is correct with regards the 2 configuration setups. The control to change this is buried in the config panels of the Network Manager Open VPN setup (There is a checkbox with an option like "Use this connection for all routing" which, when unticked, will allow you to connect to the Internet through your normal connection and only use the VPN for IPs configured on the VPN network).

Alternatively, depending on the interface (not sure which type you're using), there should be a "Only use VPN for these addresses" checkbox with a text input to specify an IP range.

share|improve this answer
Can I set which programs may or may not route through the VPN? – Oxwivi Feb 21 '11 at 9:35

The network connection through the OpenVPN should work. Your case is an issue of getting more information and troubleshooting the problem.

Check the page for tips.

share|improve this answer
Hi! I might be slightly off, but the page says "OpenVPN and IPSEC are not currently covered here." :) – Industrial Jan 26 '11 at 13:36

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.