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:
network-manager-openvpn
network-manager-openvpn-gnome
network-manager-pptp
network-manager-vpnc
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.
sudo apt-get install network-manager-openvpn-gnome
should pull in network-manager-openvpn
and openvpn
as dependancies.
Jul 1, 2016 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