Skip to content

Frozen-byte/network-manager-l2tp

 
 

Repository files navigation

NetworkMananger-l2tp

NetworkManager-l2tp is a VPN plugin for NetworkManager 1.2 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 :

Building

./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.

Debian and Ubuntu

./configure \
  --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
  --libexecdir=/usr/lib/NetworkManager \
  --with-pppd-plugin-dir=/usr/lib/pppd/2.4.7 \
  --enable-absolute-paths

Fedora and Red Hat Enterprise Linux (x86-64)

./configure \
  --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
  --sharedstatedir=/var/lib --libexecdir=/usr/libexec \
  --with-pppd-plugin-dir=/usr/lib64/pppd/2.4.7

Debugging mode

Issue the following on the command line :

Debian and Ubuntu

sudo killall -TERM nm-l2tp-service
sudo /usr/lib/NetworkManager/nm-l2tp-service --debug

Fedora and Red Hat Enterprise Linux

sudo killall -TERM nm-l2tp-service
sudo /usr/libexec/nm-l2tp-service --debug

About

L2TP and L2TP/IPsec support for NetworkManager

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 93.9%
  • Makefile 3.2%
  • M4 2.6%
  • Shell 0.3%