[Swan] Configuring L2TP client using NetworkManager

Josh jvpn at use.startmail.com
Thu Jun 2 20:44:36 EEST 2022

Hello Paul,

You are correct. I found instructions from a random VPN provider:


Ubuntu 20 uses strongswan for l2tp/ipsec and connects to keenetic l2tp 
server just fine.
Fedora 36 uses libreswan and connection to the same instance fails with 
error messages matching


Could anyone suggest any debugging steps?


On 5/30/22 17:17, Paul Wouters wrote:
> On Fri, 27 May 2022, Josh wrote:
>> Subject: [Swan] Configuring L2TP client using NetworkManager
>> On my latest Fedora NetworkManager UI there are many different options.
>> I tried to do my best finding places I need to enter four given above 
>> but result is still a failure.
> Did you use install NetworkManager-l2tp-gnome and then select "add vpn" ?
> gateway is the remote vpn host, username and password is what you
> expect, and under "IPsec settings" at the bottom you can see "enable
> IPsec" and "pre-shared key". Possibly under "advanced" you put in the
> DNS name of the remote vpn server under "remote ID".
>> Is there a manual to setup L2TP connection via NetworkManager UI?
> Possibly, but I wouldn't know.

More information about the Swan mailing list