network-manager-vpnc-gnome, the "Cisco Compatible VPN (vpnc)" option appears on the "Add VPN" menu in network manager as intended. The problem I'm having is that, despite having filled all necessary fields (so, gateway, user/group name/password), the "Add" button stays greyed out. It does seem to be a bug, since if I fill the gateway and the user name fields, the button will go green if I type only one character in the group name field (it doesn't save, however).
The form validation seems buggy and there is a required field ("interface name") which was not required before. It is in the "Advanced" window.
There is a GUI workaround. Instead of editing the connection with the main Gnome Settings application, you have to do the following:
- Launch Advanced Network Configuration (or run
- Click the "+" (Add a new connection), choose "Cisco Compatible VPN (vpnc)", click "Create..."
- Fill all the fields
- Click the "Advanced..." button
- Fill "Tunnel interface name" with
- Click "Apply"
- The Save button will still be disabled. Click "Advanced..." again and "Apply".
- Finally, you will be able to "Save"!
This is tested on Ubuntu 22.04, Lubuntu 22.04, Pop!_OS 22.04, all with
network-manager-vpnc-gnome version 1.2.8-2.
Bug reports on this issue already open in each project:
To temporarily work around this issue, I am using the command line approach for now by connecting to the VPN I need through the
I followed the instructions from Using vpnc as a Command Line VPN Client, so basically this is what I did (as root user):
- I copied
- I filled
/etc/vpnc/myvpn.confwith the details of my VPN:
IPSec gateway mygateway IPSec ID mygroupid IPSec secret mygrouppassword IKE Authmode psk Xauth username myuser Xauth password mypass
- Then, as root,
vpnc myvpn.conf(or as normal user:
sudo vpcn myvpn.conf)
- To disconnect
vpnc-disconnectas root (or as normal user:
It's not as handy as clicking through the UI, but at least it's working.