When I choose the Connection Type in VPN Connections, I have only PPTP and I can't find OpenVPN, but I already installed it via terminal with the command sudo apt-get install openvpn easy-rsa

Why I can't find it?


To get the VPN connection to show up in Network Manager, ensure that all these packages are installed:


It may be overkill but it works.

Even with this, it worked a little flakey on 16.04. One of my PCs threw an error when I tried to open the .ovpn file. I had to configure it manually. On a different PC it worked OK.

  • 3
    Seemes like exactly network-manager-openvpn-gnome is missing. I remember in 14.04 it was automatically installed as a dependency. – PocketSam May 3 '16 at 8:39
  • 9
    Doing sudo apt-get install network-manager-openvpn-gnome should pull in network-manager-openvpn and openvpn as dependancies. – HarlemSquirrel Jul 1 '16 at 12:51

For "plain" Ubuntu 16.04 (Unity-based) installing network-manager-openvpn should be sufficient. For Ubuntu GNOME install network-manager-openvpn-gnome, it will pull the other one as a dependency. The PPTP package is unnecessary, it's a completely different protocol than OpenVPN.

So for regular Ubuntu:

apt install network-manager-openvpn

For Ubuntu GNOME:

apt install network-manager-openvpn-gnome

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