Проблема с подключением к VPN серверу

Автор ShoTo, 05 марта 2015, 19:25:12

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

ShoTo

Доброго времени суток всем. Сегодня ночью мой провайдер проводил плановые работы, после этого не могу никак подключиться к серверу провайдера. В конфигурации ничего не менял. Пробовал на другой машине под управлением Ubuntu, там подключается успешно.
/etc/log/syslog
Mar  5 18:40:32 debian pptp[12516]: Plugin pptp.so loaded.
Mar  5 18:40:32 debian pptp[12516]: PPTP plugin version 0.8.5 compiled for pppd-2.4.5, linux-2.6.
Mar  5 18:40:32 debian pptp[12517]: pppd 2.4.5 started by root, uid 0
Mar  5 18:40:32 debian pptp[12518]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.218
Mar  5 18:40:32 debian pptp[12518]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:40:32 debian pptp[12518]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:40:32 debian pptp[12519]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:40:32 debian pptp[12519]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:40:32 debian pptp[12519]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:40:33 debian pptp[12519]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:40:33 debian pptp[12519]: anon log[ctrlp_disp:pptp_ctrl.c:856]: Received Outgoing Call Reply.
Mar  5 18:40:33 debian pptp[12519]: anon log[ctrlp_disp:pptp_ctrl.c:895]: Outgoing call established (call ID 52, peer's call ID 63921).
Mar  5 18:40:33 debian pptp[12517]: Using interface ppp0
Mar  5 18:40:33 debian pptp[12517]: Connect: ppp0 <--> pptp (vpn.nktv.info)
Mar  5 18:40:34 debian vnstatd[2607]: Interface "ppp0" enabled.
Mar  5 18:41:04 debian pptp[12517]: LCP: timeout sending Config-Requests
Mar  5 18:41:04 debian pptp[12517]: Connection terminated.
Mar  5 18:41:04 debian pptp[12519]: anon log[callmgr_main:pptp_callmgr.c:245]: Closing connection (unhandled)
Mar  5 18:41:04 debian pptp[12519]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:41:04 debian pptp[12519]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:41:04 debian pptp[12517]: Modem hangup
Mar  5 18:41:04 debian vnstatd[2607]: Interface "ppp0" disabled.
Mar  5 18:41:05 debian pptp[12532]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.234
Mar  5 18:41:05 debian pptp[12532]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:41:05 debian pptp[12532]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:41:05 debian pptp[12533]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:41:05 debian pptp[12533]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:41:05 debian pptp[12533]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:41:06 debian pptp[12533]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:41:06 debian pptp[12533]: anon log[ctrlp_disp:pptp_ctrl.c:856]: Received Outgoing Call Reply.
Mar  5 18:41:06 debian pptp[12533]: anon log[ctrlp_disp:pptp_ctrl.c:895]: Outgoing call established (call ID 53, peer's call ID 26716).
Mar  5 18:41:06 debian pptp[12517]: Using interface ppp0
Mar  5 18:41:06 debian pptp[12517]: Connect: ppp0 <--> pptp (vpn.nktv.info)
Mar  5 18:41:09 debian vnstatd[2607]: Interface "ppp0" enabled.
Mar  5 18:41:36 debian pptp[12517]: LCP: timeout sending Config-Requests
Mar  5 18:41:36 debian pptp[12517]: Connection terminated.
Mar  5 18:41:36 debian pptp[12533]: anon log[ctrlp_disp:pptp_ctrl.c:927]: Call disconnect notification received (call id 13568)
Mar  5 18:41:36 debian pptp[12533]: anon log[ctrlp_disp:pptp_ctrl.c:786]: Received Stop Control Connection Request.
Mar  5 18:41:36 debian pptp[12533]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply'
Mar  5 18:41:36 debian pptp[12533]: anon log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
Mar  5 18:41:36 debian pptp[12533]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:41:36 debian pptp[12533]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:41:36 debian pptp[12517]: Modem hangup
Mar  5 18:41:37 debian pptp[12541]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.198
Mar  5 18:41:37 debian pptp[12541]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:41:37 debian pptp[12541]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:41:37 debian pptp[12542]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:41:37 debian pptp[12542]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:41:37 debian pptp[12542]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:41:38 debian pptp[12542]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:41:38 debian pptp[12542]: anon log[ctrlp_disp:pptp_ctrl.c:856]: Received Outgoing Call Reply.
Mar  5 18:41:38 debian pptp[12542]: anon log[ctrlp_disp:pptp_ctrl.c:895]: Outgoing call established (call ID 54, peer's call ID 37613).
Mar  5 18:41:38 debian pptp[12517]: Using interface ppp0
Mar  5 18:41:38 debian pptp[12517]: Connect: ppp0 <--> pptp (vpn.nktv.info)
Mar  5 18:42:08 debian pptp[12517]: LCP: timeout sending Config-Requests
Mar  5 18:42:08 debian pptp[12517]: Connection terminated.
Mar  5 18:42:08 debian pptp[12542]: anon log[ctrlp_disp:pptp_ctrl.c:927]: Call disconnect notification received (call id 13824)
Mar  5 18:42:08 debian pptp[12542]: anon log[ctrlp_disp:pptp_ctrl.c:786]: Received Stop Control Connection Request.
Mar  5 18:42:08 debian pptp[12542]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply'
Mar  5 18:42:08 debian pptp[12542]: anon log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
Mar  5 18:42:08 debian pptp[12542]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:42:08 debian pptp[12542]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:42:08 debian pptp[12517]: Modem hangup
Mar  5 18:42:09 debian pptp[12568]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.238
Mar  5 18:42:09 debian pptp[12568]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:42:09 debian pptp[12568]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:42:09 debian pptp[12569]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:42:09 debian pptp[12569]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:42:09 debian pptp[12569]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:42:09 debian vnstatd[2607]: Interface "ppp0" disabled.
Mar  5 18:42:10 debian pptp[12569]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:42:10 debian pptp[12569]: anon log[ctrlp_disp:pptp_ctrl.c:856]: Received Outgoing Call Reply.
Mar  5 18:42:10 debian pptp[12569]: anon log[ctrlp_disp:pptp_ctrl.c:895]: Outgoing call established (call ID 55, peer's call ID 16441).
Mar  5 18:42:10 debian pptp[12517]: Using interface ppp0
Mar  5 18:42:10 debian pptp[12517]: Connect: ppp0 <--> pptp (vpn.nktv.info)
Mar  5 18:42:14 debian vnstatd[2607]: Interface "ppp0" enabled.
Mar  5 18:42:40 debian pptp[12517]: LCP: timeout sending Config-Requests
Mar  5 18:42:40 debian pptp[12517]: Connection terminated.
Mar  5 18:42:40 debian pptp[12569]: anon log[ctrlp_disp:pptp_ctrl.c:927]: Call disconnect notification received (call id 14080)
Mar  5 18:42:40 debian pptp[12569]: anon log[ctrlp_disp:pptp_ctrl.c:786]: Received Stop Control Connection Request.
Mar  5 18:42:40 debian pptp[12569]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply'
Mar  5 18:42:40 debian pptp[12569]: anon log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
Mar  5 18:42:40 debian pptp[12569]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:42:40 debian pptp[12569]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:42:40 debian pptp[12517]: Modem hangup
Mar  5 18:42:41 debian pptp[12585]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.222
Mar  5 18:42:41 debian pptp[12585]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:42:41 debian pptp[12585]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:42:41 debian pptp[12586]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:42:41 debian pptp[12586]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:42:41 debian pptp[12586]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:42:42 debian pptp[12586]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:42:42 debian pptp[12586]: anon log[ctrlp_disp:pptp_ctrl.c:856]: Received Outgoing Call Reply.
Mar  5 18:42:42 debian pptp[12586]: anon log[ctrlp_disp:pptp_ctrl.c:895]: Outgoing call established (call ID 56, peer's call ID 53356).
Mar  5 18:42:42 debian pptp[12517]: Using interface ppp0
Mar  5 18:42:42 debian pptp[12517]: Connect: ppp0 <--> pptp (vpn.nktv.info)
Mar  5 18:43:12 debian pptp[12517]: LCP: timeout sending Config-Requests
Mar  5 18:43:12 debian pptp[12517]: Connection terminated.
Mar  5 18:43:12 debian pptp[12586]: anon log[callmgr_main:pptp_callmgr.c:245]: Closing connection (unhandled)
Mar  5 18:43:12 debian pptp[12586]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:43:12 debian pptp[12586]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:43:12 debian pptp[12517]: Modem hangup
Mar  5 18:43:13 debian pptp[12605]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.218
Mar  5 18:43:13 debian pptp[12605]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:43:13 debian pptp[12605]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:43:13 debian pptp[12606]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:43:13 debian pptp[12606]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:43:13 debian pptp[12606]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:43:14 debian pptp[12606]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:43:14 debian pptp[12606]: anon log[ctrlp_disp:pptp_ctrl.c:856]: Received Outgoing Call Reply.
Mar  5 18:43:14 debian pptp[12606]: anon log[ctrlp_disp:pptp_ctrl.c:895]: Outgoing call established (call ID 57, peer's call ID 64008).
Mar  5 18:43:14 debian pptp[12517]: Using interface ppp0
Mar  5 18:43:14 debian pptp[12517]: Connect: ppp0 <--> pptp (vpn.nktv.info)
Mar  5 18:43:44 debian pptp[12517]: LCP: timeout sending Config-Requests
Mar  5 18:43:44 debian pptp[12517]: Connection terminated.
Mar  5 18:43:44 debian pptp[12606]: anon log[callmgr_main:pptp_callmgr.c:245]: Closing connection (unhandled)
Mar  5 18:43:44 debian pptp[12606]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:43:44 debian pptp[12606]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:43:44 debian pptp[12517]: Modem hangup
Mar  5 18:43:44 debian vnstatd[2607]: Interface "ppp0" disabled.
Mar  5 18:43:45 debian pptp[12614]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.206
Mar  5 18:43:45 debian pptp[12614]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:43:45 debian pptp[12614]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:43:45 debian pptp[12615]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:43:45 debian pptp[12615]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:43:45 debian pptp[12615]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:43:46 debian pptp[12615]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:43:46 debian pptp[12615]: anon log[pptp_read_some:pptp_ctrl.c:542]: read returned zero, peer has closed
Mar  5 18:43:46 debian pptp[12615]: anon log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
Mar  5 18:43:46 debian pptp[12615]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:43:46 debian pptp[12615]: anon log[pptp_read_some:pptp_ctrl.c:542]: read returned zero, peer has closed
Mar  5 18:43:46 debian pptp[12615]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:43:46 debian pptp[12616]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.206
Mar  5 18:43:46 debian pptp[12616]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:43:46 debian pptp[12616]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:43:46 debian pptp[12617]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:43:46 debian pptp[12617]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:43:46 debian pptp[12617]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:43:47 debian pptp[12617]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:43:47 debian pptp[12617]: anon log[pptp_read_some:pptp_ctrl.c:542]: read returned zero, peer has closed
Mar  5 18:43:47 debian pptp[12617]: anon log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
Mar  5 18:43:47 debian pptp[12617]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:43:47 debian pptp[12617]: anon log[pptp_read_some:pptp_ctrl.c:542]: read returned zero, peer has closed
Mar  5 18:43:47 debian pptp[12617]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:43:47 debian pptp[12618]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.206
Mar  5 18:43:47 debian pptp[12618]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:43:47 debian pptp[12618]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
Mar  5 18:43:47 debian pptp[12619]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar  5 18:43:47 debian pptp[12619]: anon log[ctrlp_disp:pptp_ctrl.c:737]: Received Start Control Connection Reply
Mar  5 18:43:47 debian pptp[12619]: anon log[ctrlp_disp:pptp_ctrl.c:771]: Client connection established.
Mar  5 18:43:48 debian pptp[12619]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar  5 18:43:48 debian pptp[12619]: anon log[pptp_read_some:pptp_ctrl.c:542]: read returned zero, peer has closed
Mar  5 18:43:48 debian pptp[12619]: anon log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
Mar  5 18:43:48 debian pptp[12619]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar  5 18:43:48 debian pptp[12619]: anon log[pptp_read_some:pptp_ctrl.c:542]: read returned zero, peer has closed
Mar  5 18:43:48 debian pptp[12619]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar  5 18:43:48 debian pptp[12620]: anon log[callmgr_main:pptp_callmgr.c:132]: IP: 172.16.0.206
Mar  5 18:43:48 debian pptp[12620]: anon log[callmgr_main:pptp_callmgr.c:136]: control connection
Mar  5 18:43:48 debian pptp[12620]: anon log[callmgr_main:pptp_callmgr.c:140]: unix_sock
[свернуть]

/etc/ppp/peers/provider
plugin pptp.so
pptp_server vpn.nktv.info
name username
remotename PPTP
defaultroute
ipparam novonet
replacedefaultroute
unit 0
default-asyncmap
nopcomp
noaccomp
novj
nobsdcomp
nodeflate
noauth
refuse-eap
persist
maxfail 0
lcp-echo-interval 5
lcp-echo-failure 3
lcp-echo-adaptive
holdoff 1
nomppe-stateful
[свернуть]

Подскажите, пожалуйста, в какую сторону копать?

ShoTo

Проблема решена. Дело было в невозможности отправки GRE пакетов.
iptables -A INPUT -p gre -i eth0 -j ACCEPT
iptables -A OUTPUT -p gre -o eth0 -j ACCEPT

Только я не понял, как могло такое произойти, ведь в конфигурацию давно не лазил и ничего не менял в правилах iptables