######/etc/xl2tpd/xl2tpd.conf
port = 1701
auth file = /etc/xl2tpd/l2tp-secrets
access control = no
[lns default]
ip range = 10.152.2.2-10.152.2.254
local ip - 10.152.2.1
hidden bit = no
require chap = yes
refuse pap = yes
refuse authentification = no
require authentification = yes
name = dell_server
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
flow bit = yes
###/etc/xl2tpd/l2tp-secrets
phone * superstrongpassword
test * superstrongpassword
####/etc/ppp/options.xl2tpd
refuse-ms-chap-v2
refuse-mschap
ms-dns 8.8.8.8
ms-dns 8.8.4.4
asyncmap 0
auth
crtscts
idle 1800
mtu 1200
mru 1200
lock
hide-password
local
#debug
name l2tpd
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
###/etc/ppp/chap-secrets
phone * superstrongpassword *
test * superstrongpassword *
systemctl status xl2tpd.service
● xl2tpd.service - LSB: layer 2 tunelling protocol daemon
Loaded: loaded (/etc/init.d/xl2tpd)
Active: failed (Result: exit-code) since Mon 2017-02-06 15:50:28 MSK; 3min 40s ago
Process: 7180 ExecStop=/etc/init.d/xl2tpd stop (code=exited, status=0/SUCCESS)
Process: 11142 ExecStart=/etc/init.d/xl2tpd start (code=exited, status=1/FAILURE)
Feb 06 15:50:28 dell_server systemd[1]: xl2tpd.service: control process exited, code=exited status=1
Feb 06 15:50:28 dell_server systemd[1]: Failed to start LSB: layer 2 tunelling protocol daemon.
Feb 06 15:50:28 dell_server systemd[1]: Unit xl2tpd.service entered failed state.
Feb 06 15:50:28 dell_server xl2tpd[11142]: Starting xl2tpd: