How to connect to l2tp vpn?

I want to connect to a l2tp vpn with preshared key, but it isn’t an option in the settings, all I see is openvpn and pptp or import from file.

You need to install the network-manager-l2tp and network-manager-l2tp-gnome plugins.

[Edit] Looking at my old notes, I see I also had to setup xl2tpd. If you have issue with this, I can share how I got it to work.

Can you do it in the Advanced Network Config tool? Pretty sure that can handle it.

Thx
I just apt installed network-manager-l2tp-gnome and it worked