#服务器侧-xl2tpd
test@test:/etc$ cat /etc/xl2tpd/xl2tpd.conf
[global]
port = 1701
[lns default]
ip range = 192.168.18.2-192.168.18.254
local ip = 192.168.18.1
require chap = yes
refuse pap = yes
require authentication = yes
name = l2tpd #server name
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
length bit = yes
test@test:/etc$