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?


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


(From Ubuntu 16.04 OpenVPN) - this should be closed as a duplicate but can't be yet because of the bounty.

| improve this answer | |
  • For openvpn only network-manager-openvpn and network-manager-openvpn-gnome are needed (is my current config). vpnc (cisco) and pptp (Microsoft's point to point tunneling) are different VPN protocols. – dgonzalez Jan 14 '17 at 19:28

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 network-manager-vpnc package.

| improve this answer | |

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