OpenConnect VPN not in Network Manager in 16.04

ubuntu man page

VPN support Network Manager VPN support is based on a plug-in system. If you need VPN support via network manager you have to install one of the following packages:

network-manager-openvpn network-manager-vpnc network-manager-openconnect

The network-manager-pptp plugin is installed by default.

On GNOME, you also need to install the -gnome packages for the VPN plugin you choose:

network-manager-openvpn-gnome network-manager-vpnc-gnome network-manager-openconnect-gnome


This should generally be solved by restarting your machine, and if you don't want to do so try:

# reloads all new or changed systemctl units
sudo systemctl daemon-reload

and then

# restart the network daemon
sudo service network-manager restart

None of the answers here are correct based on the question. For completeness (since this seems to be the only question that comes up when googling the problem):

This will fix the issue on 16.04+

sudo apt install network-manager-openconnect network-manager-openconnect-gnome
sudo systemctl restart network-manager.service

The *-gnome package is needed for the GUI components. Note that a reboot or restart of the network-manager.service is required in order to see the change.

Update: Added restart of network-manager service instead of reboot as per @lane


here is what fixed the issue on my ubuntu 18.10 installation:

after installing the network-manager pluings using

sudo apt install network-manager-openconnect network-manager-openconnect-gnome

I had to reboot my system. simply restarting network-manager did not help, so it must be something else like a gnome component or so, that needs to be restarted as well


I also have "grayed out VPN" in Network-Manager this is what I found (I'm Newbie)

On Ubuntu 16.04 the network-manager-openconnect and network-manager-openconnect-gnome plugins are not usable because they are to old to use with the current version of network-manager.

This is the english version of this guide from a german ubuntu support forum - Fixing unusable network-manager-openconnect-plugin on Xenial Xerus

Unofficial built packages are available here:

http://tomtomtom.org/networkmanager-openconnect_1.1.93-1_i386.deb

http://tomtomtom.org/networkmanager-openconnect_1.1.93-1_amd64.deb

NOTE: You won´t get any security updates for this! It is just a workaround until the packages will have been fixed in the official repository!