NetworkManager-l2tp is a VPN plugin for NetworkManager which provides support for L2TP and L2TP/IPSec (i.e. L2TP over IPSec) connections.
For L2TP support, it uses xl2tpd ( https://www.xelerance.com/software/xl2tpd/ )
For IPSec support, it uses either of the following :
- Libreswan ( https://libreswan.org )
- strongSwan ( https://www.strongswan.org )
./autogen.sh
./configure # (optional, see below)
make
The default ./configure settings aren't reasonable and should be explicitly overridden
with ./configure arguments. In the configure examples below, you may need to change the
--with-pppd-plugin-dir
value to an appropriate directory that exists.
./configure \
--prefix=/usr --localstatedir=/etc --sysconfdir=/etc \
--sharedstatedir=/var/lib --libexecdir=/usr/lib/NetworkManager \
--with-pppd-plugin-dir=/usr/lib/pppd/2.4.7
./configure \
--prefix=/usr --localstatedir=/var --sysconfdir=/etc \
--sharedstatedir=/var/lib --libexecdir=/usr/libexec \
--with-pppd-plugin-dir=/usr/lib64/pppd/2.4.7
Issue the following on the command line :
sudo /usr/lib/NetworkManager/nm-l2tp-service --debug
sudo /usr/libexec/nm-l2tp-service --debug