2

I have DSL connection. I need to know how to setup and use openVPN.

  • What did you try? What were the problems? – guntbert Oct 22 '15 at 19:37
  • @guntbert I was looking for it but there are tutorials for outdated versions of Ubuntu with different networking menu. – R S Oct 22 '15 at 23:14
4
  1. You need to install the openvpn and openvpn network manager plugin packages:

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

  1. Setup your openvpn session:

    2.1 - In your network connections go to VPN - set up VPN, then choose add connection type VPN - OpenVPN, click on Create or import a saved ovpn configuration. enter image description here enter image description here 2.2 - In the editing of your VPN connection window you configure in general IP address or host name of your VPN provider enter image description here

    2.3 - choose the required certificates and keys / user name and password.

    2.4 - In the special you set up VPN connection details such as port, LZO compression, TCP, UDP, TAP device - these are settings from your VPN provider.

    2.5 - Set up the security tab according to your VPN provider. Finally click on save to save the new VPN settings.

  2. To try the new VPN go again to your network connections - VPN and click on the newly created VPN.

    enter image description here enter image description here

Please note that even if you get a successful connection message and do not get any traffic through, then your settings are incorrect.

Good guide is on this site. Please note that there is also server and client setup as well. As a server you might want to run a device which runs 24/7, such as router or nas.

You can see this video how to setup in Ubuntu 14.04 in unity desktop.

The screenshoots have been taken from this site.

For ovpn configuration you may use the public VPN service here

| improve this answer | |
  • I can't do what you talking about, are you sure that you talking about 14.04 ? About the guide - harder way is not the best. – R S Oct 22 '15 at 19:23
  • The guide is for Ubuntu 14.04 with Unity desktop. With Xfce or KDE you have to look in appropriate place. The network manager is in the same place as your DSL connection. If you have unity, click on the DSL icon in the top bar and expand the menu, then you can go to the VPN.... – kukulo Oct 23 '15 at 12:35
  • right, you'd better use screenshots – R S Oct 23 '15 at 20:42
  • Please check the video, that shows it better than screenshoots. youtube.com/watch?v=56O2WeMZAr0 – kukulo Oct 24 '15 at 8:37

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