4

This question already has an answer here:

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?

marked as duplicate by Organic Marble, Eric Carvalho, Kaz Wolfe, Community Jan 14 '17 at 4:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3
+50

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.

  • 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
2

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.

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