How install L2tp

Hello, how to install L2tp vpn? Sorry for my bad english.

Clear Linux has wireguard support and openvpn packages. These may or may not work easily with NetworkManager - you’ll have to try it.

I personally am a big fan of wireguard since it can work with just a simple text config file set and only needs systemd-networkd, but, it’s probably a little spartan for people.

1 Like

I need to connect to the company server where I work and the connection method is L2TP, is there any planning to include this service in the distro?

NetworkManager-extras bundle has l2tp support since just a few days ago. Try installing that and see if that works (sorry, I have no idea how to actually use it myself).

Thanks ahkok, xl2tpd and IpSec are still missing. I will wait for the next updates.

I have no outstanding requests for these tools.

Does NM require them to work? Or are these tools alternatives to NM to configure l2tp?

Yes, to enable IPSec Settings on L2TP, xl2tpd is required. Otherwise we could not configure the preshared key. Thanks for the attention!

did anyone manage to start l2tp/ipsec ?

i cannot start ipsec service
/usr/libexec/ipsec/pluto gets segmentation fault

changed one line in /usr/lib/systemd/system/ipsec.service
now everithing is working fine

# ExecStart=/usr/libexec/ipsec/pluto --leak-detective --config /etc/ipsec.conf --nofork
ExecStart=/usr/libexec/ipsec/pluto --config /etc/ipsec.conf --nofork

Thanks for sharing your solution, @fanfani4!