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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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.
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