LinuxForum.Fans
Тема

xl2tpd Linux(CentOS 6)

Автор: semperN 5 сообщений 3310 просмотров
#257902

Подскажите пожалуйста в чем проблема и как решить. Установил xl2tpd в centos 6. Но при запуске xl2tpd -D выдает такую ошибку.

text
xl2tpd[19000]: xl2tpd version xl2tpd-1.3.1 started on gw.ngdbnet.local PID:19000
xl2tpd[19000]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[19000]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[19000]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[19000]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[19000]: Listening on IP address 0.0.0.0, port 1701
xl2tpd[19000]: get_call: allocating new tunnel for host 172.16.0.18, port 1701.
xl2tpd[19000]: Connecting to host vpn.nktv.info, port 1701
xl2tpd[19000]: Maximum retries exceeded for tunnel 54171.  Closing.
xl2tpd[19000]: Connection 0 closed to 172.16.0.18, port 1701 (Timeout)
xl2tpd[19000]: Unable to deliver closing message for tunnel 54171. Destroying anyway.
xl2tpd[19000]: Will redial in 3 seconds
xl2tpd[19000]: get_call: allocating new tunnel for host 172.16.0.234, port 1701.
xl2tpd[19000]: Connecting to host vpn.nktv.info, port 1701
xl2tpd[19000]: Maximum retries exceeded for tunnel 19282.  Closing.
xl2tpd[19000]: Connection 0 closed to 172.16.0.234, port 1701 (Timeout)
xl2tpd[19000]: Unable to deliver closing message for tunnel 19282. Destroying anyway.
xl2tpd[19000]: Will redial in 3 seconds
xl2tpd[19000]: get_call: allocating new tunnel for host 172.16.0.182, port 1701.
xl2tpd[19000]: Connecting to host vpn.nktv.info, port 1701
xl2tpd[19000]: Maximum retries exceeded for tunnel 50982.  Closing.
xl2tpd[19000]: Connection 0 closed to 172.16.0.182, port 1701 (Timeout)
xl2tpd[19000]: Unable to deliver closing message for tunnel 50982. Destroying anyway.
xl2tpd[19000]: Will redial in 3 seconds

вот такие настройки использую xl2tpd.conf

text
[global]
access control = yes

[lac vpn.nktv.info] lns = vpn.nktv.info redial = yes redial timeout = 3 name = secret ppp debug = yes pppoptfile = /etc/ppp/options.xl2tpd autodial = yes

cat /etc/ppp/options.xl2tpd

text
unit 0
name detskay
mtu 1460
mru 1460
persist
nodeflate
nobsdcomp
nopcomp
noaccomp
defaultroute
replacedefaultroute
#257914

Selinux отключал?

#257915
"XliN" написал:
Selinux отключал?

selinux и iptables отключены

#319904

Решился вопрос, кстати? У меня похожая ситуация. Долгий дебаг показал, что upd на 1701 пропадают на границе 2 интерфейсов. Причем на уходящем я его вижу, а на входящем уже нет.

#319908

Блин, сам тупанул. Не хватало

text
echo -e "flush;\nspdflush;\n" | setkey -c
Войдите или зарегистрируйтесь, чтобы ответить.