Всем привет! Для соединения по l2tpd использую xl2tpd Конфиги:
cat /etc/xl2tpd/xl2tpd.conf
[global]
access control = yes
auth file = /etc/ppp/chap-secrets
debug avp = no
debug network = no
debug packet = no
debug state = no
debug tunnel = no
[lac fryazino-l2tp]
lns = fvpn.fryazino.net
name = kiev
redial = yes
redial timeout = 5
require chap = yes
require authentication = no
ppp debug = yes
pppoptfile = /etc/ppp/options.l2tpd
require pap = no
autodial = yes
cat /etc/ppp/options.l2tpd
unit 0
name kiev
remotename l2tp
ipparam fryazino
connect /bin/true
mru 1460
mtu 1460
nodeflate
nobsdcomp
nomppe
nopcomp
noaccomp
nodefaultroute
#replacedefaultroute
При запуске демона ррр0 не поднимается
xl2tpd -D
xl2tpd[1790]: setsockopt recvref[22]: Protocol not available
xl2tpd[1790]: This binary does not support kernel L2TP.
xl2tpd[1790]: xl2tpd version xl2tpd-1.2.8 started on likan PID:1416
xl2tpd[1790]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[1790]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[1790]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[1790]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[1790]: Listening on IP address 0.0.0.0, port 1701
xl2tpd[1790]: Can not find tunnel 16051 (refhim=0)
xl2tpd[1790]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 16051 Dumping