I am on Ubuntu 16.04 LTS and I tried to configure a new OpenVPN connection, but when I try to add one only PPTP is shown like in this question. The answer for that question is not working.
How can I solve this problem?
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
(From Ubuntu 16.04 OpenVPN) - this should be closed as a duplicate but can't be yet because of the bounty.
You need to install the OpenVPN package for NetworkManager to be aware of OpenVPN and connections using this.
Fortunately, this is just a one-liner:
sudo apt install network-manager-openvpn
This will install NetworkManager awareness, and all required dependencies (if any) to set up and maintain connections. After install, however, you may need to reboot (or at least log out/back in) for the Network Manager to figure out it has new capabilities.
Depending on your system, you may also need to install the