I am trying to connect to a IPSec VPN on Ubuntu 22.04 LTS. In the past this worked, but after upgrading from 20.04 it didnt. I deleted the configuration and trying to add it again using the UI.
My connection uses a IPSec group name and shared secret. Where do I enter the IPSec group name?
I followed this: https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md#linux I tried this: 22.04 l2tp client not working
Edit: I have these installed
$ sudo apt list network-manager-l2tp-gnome
network-manager-l2tp-gnome/jammy,now 1.20.0-1build2 amd64 [installed]
$ sudo apt -a list xl2tpd
xl2tpd/jammy-updates,now 1.3.16-1ubuntu0.1 amd64 [installed]
xl2tpd/jammy 1.3.16-1 amd64
L2TP
alone is not IPSec, IPSec tends to useL2TP
but is not just L2TP plain. You need to know if your IPSec VPN is a Cisco VPN or IKEv1 VPN (which needsnetwork-manager-vpnc-gnome
) or a generic IPSec setup that uses IKE2 (which needs Strongswan -network-manager-strongswan-gnome
). If you do not know the type of VPN connection in use, then you cannot properly determine which of the IPSec VPN clients you need, though you should probably try withnetwork-manager-strongswan-gnome
first which is the stronger/newer IPSec library / suite in Debian and Ubuntu. – Thomas Ward Jan 16 '23 at 01:08vpnc
option that I stated. If you know it's a Cisco VPN IKEv1 endpoint then you need to usevpnc
. – Thomas Ward Jan 17 '23 at 03:37