PPTP+TP-Link

PPTP related questions
Post Reply
AlexBr
Posts: 2
Joined: 30 Aug 2015, 21:18

PPTP+TP-Link

Post by AlexBr » 30 Aug 2015, 21:42

Здравствуйте!
Возникла проблема с подключением к серверу домашнего роутера TP-Link.

Настройки сервера:

Code: Select all

[modules]
log_file
pptp
l2tp
pppoe

auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap

ippool

chap-secrets

[core]
log-error=/var/log/accel-ppp/core.log
thread-count=1
verbose=1

[ppp]
verbose=1
min-mtu=1280
mtu=1400
mru=1400
#ccp=0
#mppe=deny
ipv4=require
ipv6=deny

[lcp]
echo-interval=30
echo-failure=3
echo-timeout=120
#unit-cache=1000

[auth]
#any-login=0
#noauth=0

[pptp]
verbose=1

[pppoe]
verbose=1
interface=eth0

[l2tp]
verbose=1
avp_permissive=1

[dns]
dns1=172.16.15.1

[wins]
#wins1=172.16.0.1
#wins2=172.16.1.1

[client-ip-range]
192.168.254.0/24

[ip-pool]
gw-ip-address=192.168.111.1
192.168.111.2-255

[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
#syslog=accel-pppd,daemon
copy=1
level=5

[chap-secrets]
gw-ip-address=192.168.254.1
#chap-secrets=/etc/ppp/chap-secrets
#encrypted=0
#username-hash=md5

[cli]
telnet=127.0.0.1:2000
#tcp=127.0.0.1:2001
#password=123
Логи сервера:
accel-ppp.log

Code: Select all

[2015-08-30 23:59:21]:  info: pptp: new connection from 192.168.254.229
[2015-08-30 23:59:21]:  info: : recv [PPTP Start-Ctrl-Conn-Request <Version 1> <Framing 3> <Bearer 3> <Max-Chan 65535>]
[2015-08-30 23:59:21]:  info: : send [PPTP Start-Ctrl-Conn-Reply <Version 1> <Result 1> <Error 0> <Framing 3> <Bearer 3> <Max-Chan 1>]
[2015-08-30 23:59:22]:  info: : recv [PPTP Outgoing-Call-Request <Call-ID d> <Call-Serial 0> <Min-BPS 2400> <Max-BPS 1000000000> <Bearer 3> <Framing 3> <Window-Size 50> <Delay 0>]
[2015-08-30 23:59:22]:  info: : send [PPTP Outgoing-Call-Reply <Call-ID 3a> <Peer-Call-ID d> <Result 1> <Error 0> <Cause 0> <Speed 1000000000> <Window-Size 50> <Delay 0> <Channel 0>]
[2015-08-30 23:59:22]:  info: ppp0: connect: ppp0 <--> pptp(192.168.254.229)
[2015-08-30 23:59:22]: debug: ppp0: lcp_layer_init
[2015-08-30 23:59:22]: debug: ppp0: auth_layer_init
[2015-08-30 23:59:22]: debug: ppp0: ccp_layer_init
[2015-08-30 23:59:22]: debug: ppp0: ipcp_layer_init
[2015-08-30 23:59:22]: debug: ppp0: ipv6cp_layer_init
[2015-08-30 23:59:22]: debug: ppp0: ppp established
[2015-08-30 23:59:22]: debug: ppp0: lcp_layer_start
[2015-08-30 23:59:22]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:25]: debug: ppp0: fsm timeout 9
[2015-08-30 23:59:25]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:28]: debug: ppp0: fsm timeout 8
[2015-08-30 23:59:28]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:31]: debug: ppp0: fsm timeout 7
[2015-08-30 23:59:31]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:34]: debug: ppp0: fsm timeout 6
[2015-08-30 23:59:34]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:37]: debug: ppp0: fsm timeout 5
[2015-08-30 23:59:37]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:40]: debug: ppp0: fsm timeout 4
[2015-08-30 23:59:40]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:43]: debug: ppp0: fsm timeout 3
[2015-08-30 23:59:43]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:46]: debug: ppp0: fsm timeout 2
[2015-08-30 23:59:46]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:49]: debug: ppp0: fsm timeout 1
[2015-08-30 23:59:49]:  info: ppp0: send [LCP ConfReq id=1 <auth MSCHAP-v2> <mru 1400> <magic 79e2a9e3>]
[2015-08-30 23:59:52]: debug: ppp0: fsm timeout 0
[2015-08-30 23:59:52]: debug: ppp0: lcp_layer_finished
[2015-08-30 23:59:52]: debug: ppp0: terminate
[2015-08-30 23:59:52]: debug: ppp0: lcp_layer_finish
[2015-08-30 23:59:52]: debug: ppp0: lcp_layer_free
[2015-08-30 23:59:52]: debug: ppp0: auth_layer_free
[2015-08-30 23:59:52]: debug: ppp0: ccp_layer_free
[2015-08-30 23:59:52]: debug: ppp0: ipcp_layer_free
[2015-08-30 23:59:52]: debug: ppp0: ipv6cp_layer_free
[2015-08-30 23:59:52]: debug: ppp0: ppp destablished
[2015-08-30 23:59:52]: debug: ppp0: pptp: ppp finished
[2015-08-30 23:59:52]:  info: ppp0: send [PPTP Call-Disconnect-Notify <Call-ID d00> <Result 3> <Error 0> <Cause 0>]
[2015-08-30 23:59:52]:  info: ppp0: send [PPTP Stop-Ctrl-Conn-Request <Reason 0>]
[2015-08-30 23:59:52]:  info: ppp0: recv [PPTP Stop-Ctrl-Conn-Reply <Result 1> <Error 0>]
[2015-08-30 23:59:52]: debug: ppp0: pptp: disconnect
[2015-08-30 23:59:52]:  info: ppp0: disconnected
В логах роутера десять раз появляется аналогичная запись, ну и далее бесконечные попытки подключиться:

Code: Select all

ppp9 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x633297d2> <pcomp> <accomp>]
Подскажите, пожалуйста, как это исправить :/

dimka88
Posts: 431
Joined: 13 Oct 2014, 05:51
Contact:

Re: PPTP+TP-Link

Post by dimka88 » 31 Aug 2015, 05:05

Отключите фаервол, если используется.
[2015-08-30 23:59:25]: debug: ppp0: fsm timeout 9
Не ходят gre пакеты.

AlexBr
Posts: 2
Joined: 30 Aug 2015, 21:18

Re: PPTP+TP-Link

Post by AlexBr » 31 Aug 2015, 12:11

dimka88 wrote:Отключите фаервол, если используется.
[2015-08-30 23:59:25]: debug: ppp0: fsm timeout 9
Не ходят gre пакеты.
Хм, iptables пуст, с внешней стороны fw тоже отключен. Более того, windows-клиенты прекрасно подключаются.
Доп.информация: Debian wheezy, accel-ppp 1.9 из deb-пакета с sf. Всё это живёт пока в VBox, внутри virtio, наружу бридж к физ.сети.

dimka88
Posts: 431
Joined: 13 Oct 2014, 05:51
Contact:

Re: PPTP+TP-Link

Post by dimka88 » 31 Aug 2015, 13:18

Всё это живёт пока в VBox, внутри virtio
Уже обсасывалось на наге, ищите там. Не заработает без особых заклинаний.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest