LINUX.ORG.RU

Проблемы с XL2TPD


0

1

Помогите с настройкой L2TP, настраиваю через xl2tpd, заполнил в соответствии с мануалом /etc/xl2tpd/xl2tpd.conf

[global]
ac[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 = yescess 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

/etc/ppp/options.l2tpd
unit 0
name ваш_логин
remotename l2tp
ipparam fryazino
connect /bin/true
mru 1460
mtu 1460
nodeflate
nobsdcomp
nomppe
nopcomp
noaccomp
defaultroute
replacedefaultroute

/etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

/etc/resolv.conf
domain fryazino.net
nameserver 192.168.2.90
nameserver 192.168.2.20


chap-secrets заполнен
XL2TPD -D даёт следующий вывод
xl2tpd[2758]: setsockopt recvref[22]: Protocol not available
xl2tpd[2758]: This binary does not support kernel L2TP.
xl2tpd[2758]: xl2tpd version xl2tpd-1.2.6 started on likan-6100M2MA PID:2758
xl2tpd[2758]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[2758]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[2758]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[2758]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[2758]: Listening on IP address 0.0.0.0, port 1701
^Cxl2tpd[2758]: death_handler: Fatal signal 2 received

не поднимаеться ppp0, что делать?



★★★

А зачем у вас два раза [lac fryazino-l2tp] объявлено?

ins3y3d ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.