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'm new in Ubuntu and would like to know if there exist a complete step by step tutorial on how to set up an OpenVPN connection. I am hoping that it would be as easy as doing it in Windows 7. I have .ovpn files that I want to use. Are there any packages that I require? Is there an existing GUI for connecting to OpenVPN or am I expected to go through the terminal and be knowledgeable about certain commands? I hope you can help me out! :)

share|improve this question

You can use the Network Manager applet to configure VPN connections. You need to install the openvpn plugin first.

Either from the command-line:

sudo apt-get install network-manager-openvpn network-manager-openvpn-gnome

Or through the software center (search for network-manager-openvpn-gnome).

Then, your network applet menu will let you configure VPN connections. It will have an additional "VPN Connections" menu, with a submenu to "Configure VPN...". From there, you can import your existing .ovpn file, enter the location of your key and certificate files, enter the key password, etc.

Depending on your vpn server configuration and your needs, you may also want to:

  • define special DNS servers ?
  • check "Use this connection only for resources on it's network" ?
  • etc.
share|improve this answer

There are excellent resources available, read this and this.

For a gui client you could try GOpenVPN or hamachi or gvpnc. Look for these in the software center.

share|improve this answer
Thanks for the links. As I have mentioned in my query though, I'm a beginner in all things Ubuntu and linux and have little experience in navigating the Terminal. I was hoping that there would be an OpenVPN GUI which will let you run .ovpn files to connect the VPN. I guess it won't be that easy. – les02jen17 Jun 7 '12 at 19:42
UPDATE: GOpenVPN does not work for me, I dunno why. It does say in the homepage that it's only for Ubuntu Jaunty (9.04?) and mine's 12.04. I don't know why it's not working. I was able to put the .opvpn files under etc/openvpn as instructed but when I run it, it does not appear anywhere. The other ones I haven't tried yet. – les02jen17 Jun 9 '12 at 13:14

hey you can install OPEN VPN plugin by going to networks and select Openvpn then install OPEN VPN plugin

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – fossfreedom Oct 26 '12 at 8:33
Link is broken now. – krlmlr May 11 '13 at 13:09

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.