[Swan] Configuring L2TP client using NetworkManager

Paul Wouters paul at nohats.ca
Thu Jun 2 22:14:10 EEST 2022


That configuration file in the cited email does not use L2TP/ipsec.

you would really need to share your own logs. NM is a little tricky to debug. I would have to check the source code of NM-l2tp again later to see.

Paul

Sent using a virtual keyboard on a phone

> On Jun 2, 2022, at 13:49, Josh <jvpn at use.startmail.com> wrote:
> 
> Hello Paul,
> 
> You are correct. I found instructions from a random VPN provider:
> 
> https://www.rapidvpn.com/setup-vpn-l2tp-ubuntu
> https://www.rapidvpn.com/setup-vpn-l2tp-fedora
> 
> 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
> 
> https://lists.libreswan.org/pipermail/swan/2017/002022.html
> 
> Could anyone suggest any debugging steps?
> 
> Josh.
> 
>> 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