Интересует такой вопрос долгое пере подключение канала VPN между двумя роутерами, так и должно быть. В логе есть уже момент пере подключения и нет время разрыва судя по лог время на восстановление VPN c 05:12 по 05:49 :
На Viva
...
Mar 30 05:46:43pptp[13262] connect: Operation in progress
Mar 30 05:46:43pptp[13262] Could not open control connection to 195.хх.хх.хх
Mar 30 05:46:43pptp[13260] Call manager exited with error 256
Mar 30 05:46:43pptp[13260] Exit.
Mar 30 05:46:43ndm Service: "PPTP0": unexpectedly stopped.
Mar 30 05:46:43ndm Network::Interface::Base: "PPTP0": interface is up.
Mar 30 05:46:46pptp[13269] Plugin pptp.so loaded.
Mar 30 05:46:46pptp[13269] PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4
Mar 30 05:46:46pptp[13269] pppd 2.4.4-4 started by root, uid 0
Mar 30 05:46:46ndm Network::Interface::PPTP: added host route to 195.хх.хх.хх via 10.хх.хх.хх.
Mar 30 05:46:46pptp[13271] IP: 195.хх.хх.хх
Mar 30 05:46:51pptp[13271] connect: Operation in progress
Mar 30 05:46:51pptp[13271] Could not open control connection to хх.хх.хх.хх
Mar 30 05:46:51pptp[13269] Call manager exited with error 256
Mar 30 05:46:51pptp[13269] Exit.
Mar 30 05:46:51ndm Service: "PPTP0": unexpectedly stopped.
Mar 30 05:46:51ndm Network::Interface::Base: "PPTP0": interface is up.
Mar 30 05:46:54pptp[13279] Plugin pptp.so loaded.
Mar 30 05:46:54pptp[13279] PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4
...
Mar 30 05:49:03pptp[13422] Exit.
Mar 30 05:49:03ndm Service: "PPTP0": unexpectedly stopped.
Mar 30 05:49:03ndm Network::Interface::Base: "PPTP0": interface is up.
Mar 30 05:49:06pptp[13432] Plugin pptp.so loaded.
Mar 30 05:49:06pptp[13432] PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4
Mar 30 05:49:06pptp[13432] pppd 2.4.4-4 started by root, uid 0
Mar 30 05:49:06ndm Network::Interface::PPTP: added host route to 195.хх.хх.хх via 10.хх.хх.хх.
Mar 30 05:49:06pptp[13434] IP: 195.хх.хх.хх
Mar 30 05:49:08pptp[13434] control connection
Mar 30 05:49:08pptp[13434] unix_sock
Mar 30 05:49:08pptp[13435] enable echo requests (30:3)
Mar 30 05:49:08pptp[13435] Sent control packet type is 1 'Start-Control-Connection-Request'
Mar 30 05:49:09pptp[13435] Received Start Control Connection Reply
Mar 30 05:49:09pptp[13435] Client connection established.
Mar 30 05:49:09pptp[13435] Sent control packet type is 7 'Outgoing-Call-Request'
Mar 30 05:49:10pptp[13435] Received Outgoing Call Reply.
Mar 30 05:49:10pptp[13435] Outgoing call established (call ID 276, peer's call ID 6).
Mar 30 05:49:10ndm kernel: Fast VPN ctrl: setup for src 195.хх.хх.хх
Mar 30 05:49:10pptp[13432] Using interface ppp0
Mar 30 05:49:10pptp[13432] Connect: ppp0 <--> pptp (195.хх.хх.хх)
Mar 30 05:49:10pptp[13432] CHAP authentication succeeded
Mar 30 05:49:10pptp[13432] local IP address 192.168.10.1
Mar 30 05:49:10pptp[13432] remote IP address 192.168.1.1
Mar 30 05:49:10pptp[13432] primary DNS address 192.168.1.1
Mar 30 05:49:10pptp[13432] secondary DNS address 192.168.1.1
Mar 30 05:49:10ndm Network::Interface::Base: "PPTP0": interface is up.
Mar 30 05:49:10ndm Network::Interface::PPP: adding nameserver 192.168.1.1.
Mar 30 05:49:10ndnproxy updating configuration...
Mar 30 05:49:10ndnproxy stats. file: /var/ndnproxymain.stat.
Mar 30 05:49:10ndm Dns::Manager: name server 192.168.1.1 added, domain (default).
Mar 30 05:49:10ndm Network::Interface::PPP: adding nameserver 192.168.1.1.
Mar 30 05:49:10ndm Network::Interface::IP: "PPTP0": IP address is 192.168.10.1/32.
Mar 30 05:49:12ndhcpc PPTP0: NDM DHCP client (version 3.0.9) started.
Mar 30 05:49:18ndhcpc PPTP0: sending INFORM for 192.168.10.1 to 255.255.255.255.
Mar 30 05:49:18ndhcpc PPTP0: received ACK on INFORM for 192.168.10.1 from 255.255.255.255.
Mar 30 05:49:18ndm Dhcp::Client: adding route 192.168.1.0/255.255.255.0/192.168.1.1.
...
На K-II (192.168.1.1, ПК 192.168.1.106, канал VPN 192.168.10.1, инет 195.хх.хх.хх)
...
Mar 30 05:12:45 pptp[375]: Connect time 546.7 minutes.
Mar 30 05:12:45 pptp[375]: Sent 16039581 bytes, received 1498937 bytes.
Mar 30 05:12:45 pptp[375]: Connection terminated.
Mar 30 05:12:45 ndm: kernel: Fast VPN ctrl: release for src 83.хх.хх.хх
Mar 30 05:12:45 pptp[375]: Terminating on signal 15
Mar 30 05:12:45 pptp[375]: Exit.
Mar 30 05:12:50 pptpd[374]: CTRL: Client 83.хх.хх.хх control connection finished
Mar 30 05:13:07 ndm: UPnP::Manager: redirect and forward rules deleted: udp 56008.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
vasek00
Viva - v2.05(AANT.22)C2 клиент VPN сервера (провайдер Мегафон 4G модем M150-2)
KII - v2.05(AAFG.5)C2 cервера VPN (белый IP, провайдер PPTP)
Интересует такой вопрос долгое пере подключение канала VPN между двумя роутерами, так и должно быть. В логе есть уже момент пере подключения и нет время разрыва судя по лог время на восстановление VPN c 05:12 по 05:49 :
На Viva
...
Mar 30 05:46:43pptp[13262] connect: Operation in progress
Mar 30 05:46:43pptp[13262] Could not open control connection to 195.хх.хх.хх
Mar 30 05:46:43pptp[13260] Call manager exited with error 256
Mar 30 05:46:43pptp[13260] Exit.
Mar 30 05:46:43ndm Service: "PPTP0": unexpectedly stopped.
Mar 30 05:46:43ndm Network::Interface::Base: "PPTP0": interface is up.
Mar 30 05:46:46pptp[13269] Plugin pptp.so loaded.
Mar 30 05:46:46pptp[13269] PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4
Mar 30 05:46:46pptp[13269] pppd 2.4.4-4 started by root, uid 0
Mar 30 05:46:46ndm Network::Interface::PPTP: added host route to 195.хх.хх.хх via 10.хх.хх.хх.
Mar 30 05:46:46pptp[13271] IP: 195.хх.хх.хх
Mar 30 05:46:51pptp[13271] connect: Operation in progress
Mar 30 05:46:51pptp[13271] Could not open control connection to хх.хх.хх.хх
Mar 30 05:46:51pptp[13269] Call manager exited with error 256
Mar 30 05:46:51pptp[13269] Exit.
Mar 30 05:46:51ndm Service: "PPTP0": unexpectedly stopped.
Mar 30 05:46:51ndm Network::Interface::Base: "PPTP0": interface is up.
Mar 30 05:46:54pptp[13279] Plugin pptp.so loaded.
Mar 30 05:46:54pptp[13279] PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4
...
Mar 30 05:49:03pptp[13422] Exit.
Mar 30 05:49:03ndm Service: "PPTP0": unexpectedly stopped.
Mar 30 05:49:03ndm Network::Interface::Base: "PPTP0": interface is up.
Mar 30 05:49:06pptp[13432] Plugin pptp.so loaded.
Mar 30 05:49:06pptp[13432] PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4
Mar 30 05:49:06pptp[13432] pppd 2.4.4-4 started by root, uid 0
Mar 30 05:49:06ndm Network::Interface::PPTP: added host route to 195.хх.хх.хх via 10.хх.хх.хх.
Mar 30 05:49:06pptp[13434] IP: 195.хх.хх.хх
Mar 30 05:49:08pptp[13434] control connection
Mar 30 05:49:08pptp[13434] unix_sock
Mar 30 05:49:08pptp[13435] enable echo requests (30:3)
Mar 30 05:49:08pptp[13435] Sent control packet type is 1 'Start-Control-Connection-Request'
Mar 30 05:49:09pptp[13435] Received Start Control Connection Reply
Mar 30 05:49:09pptp[13435] Client connection established.
Mar 30 05:49:09pptp[13435] Sent control packet type is 7 'Outgoing-Call-Request'
Mar 30 05:49:10pptp[13435] Received Outgoing Call Reply.
Mar 30 05:49:10pptp[13435] Outgoing call established (call ID 276, peer's call ID 6).
Mar 30 05:49:10ndm kernel: Fast VPN ctrl: setup for src 195.хх.хх.хх
Mar 30 05:49:10pptp[13432] Using interface ppp0
Mar 30 05:49:10pptp[13432] Connect: ppp0 <--> pptp (195.хх.хх.хх)
Mar 30 05:49:10pptp[13432] CHAP authentication succeeded
Mar 30 05:49:10pptp[13432] local IP address 192.168.10.1
Mar 30 05:49:10pptp[13432] remote IP address 192.168.1.1
Mar 30 05:49:10pptp[13432] primary DNS address 192.168.1.1
Mar 30 05:49:10pptp[13432] secondary DNS address 192.168.1.1
Mar 30 05:49:10ndm Network::Interface::Base: "PPTP0": interface is up.
Mar 30 05:49:10ndm Network::Interface::PPP: adding nameserver 192.168.1.1.
Mar 30 05:49:10ndnproxy updating configuration...
Mar 30 05:49:10ndnproxy stats. file: /var/ndnproxymain.stat.
Mar 30 05:49:10ndm Dns::Manager: name server 192.168.1.1 added, domain (default).
Mar 30 05:49:10ndm Network::Interface::PPP: adding nameserver 192.168.1.1.
Mar 30 05:49:10ndm Network::Interface::IP: "PPTP0": IP address is 192.168.10.1/32.
Mar 30 05:49:12ndhcpc PPTP0: NDM DHCP client (version 3.0.9) started.
Mar 30 05:49:18ndhcpc PPTP0: sending INFORM for 192.168.10.1 to 255.255.255.255.
Mar 30 05:49:18ndhcpc PPTP0: received ACK on INFORM for 192.168.10.1 from 255.255.255.255.
Mar 30 05:49:18ndm Dhcp::Client: adding route 192.168.1.0/255.255.255.0/192.168.1.1.
...
На K-II (192.168.1.1, ПК 192.168.1.106, канал VPN 192.168.10.1, инет 195.хх.хх.хх)
...
Mar 30 05:12:45 pptp[375]: Connect time 546.7 minutes.
Mar 30 05:12:45 pptp[375]: Sent 16039581 bytes, received 1498937 bytes.
Mar 30 05:12:45 pptp[375]: Connection terminated.
Mar 30 05:12:45 ndm: kernel: Fast VPN ctrl: release for src 83.хх.хх.хх
Mar 30 05:12:45 pptp[375]: Terminating on signal 15
Mar 30 05:12:45 pptp[375]: Exit.
Mar 30 05:12:50 pptpd[374]: CTRL: Client 83.хх.хх.хх control connection finished
Mar 30 05:13:07 ndm: UPnP::Manager: redirect and forward rules deleted: udp 56008.
Mar 30 05:13:47 ndm: UPnP::Manager: redirect rule added: udp PPTP0:56008 -> 192.168.1.106:56008.
Mar 30 05:13:47 ndm: UPnP::Manager: forward rule added: udp PPTP0 -> 192.168.1.106:56008.
Mar 30 05:14:50 ndm: UPnP::Manager: redirect and forward rules deleted: udp 56008.
Mar 30 05:15:51 ndm: UPnP::Manager: redirect rule added: udp PPTP0:56008 -> 192.168.1.106:56008.
...
Mar 30 05:48:10 ndm: UPnP::Manager: redirect and forward rules deleted: udp 56008.
Mar 30 05:48:57 ndm: UPnP::Manager: redirect rule added: udp PPTP0:56008 -> 192.168.1.106:56008.
Mar 30 05:48:57 ndm: UPnP::Manager: forward rule added: udp PPTP0 -> 192.168.1.106:56008.
Mar 30 05:49:08 pptpd[380]: CTRL: Client 83.хх.хх.хх control connection started
Mar 30 05:49:09 ndm: kernel: Fast VPN ctrl: setup for src 83.хх.хх.хх
Mar 30 05:49:09 pptpd[380]: CTRL: Starting call (launching pppd, opening GRE)
Mar 30 05:49:09 pptp[381]: Plugin pptp.so loaded.
Mar 30 05:49:09 pptp[381]: PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4
Mar 30 05:49:09 pptp[381]: pppd 2.4.4-4 started by root, uid 0
Mar 30 05:49:09 pptp[381]: Using interface vpn1
Mar 30 05:49:09 pptp[381]: Connect: vpn1 <--> pptp (83.хх.хх.хх)
[E] Mar 30 05:49:10 pptp[381]: MPPE protocol reject. MPPE is optional. Falling back to non-mppe
Mar 30 05:49:10 pptp[381]: local IP address 192.168.1.1
Mar 30 05:49:10 pptp[381]: remote IP address 192.168.10.1
Mar 30 05:49:18 ndhcps: VPN0: DHCPINFORM received for 192.168.10.1 from 00:00:00:00:00:00.
Mar 30 05:49:18 ndhcps: VPN0: sending INFORM to 00:00:00:00:00:00.
Mar 30 05:50:00 ndm: UPnP::Manager: redirect and forward rules deleted: udp 56008.
Mar 30 05:50:20 ndm: UPnP::Manager: redirect rule added: udp PPTP0:56008 -> 192.168.1.106:56008.
Mar 30 05:50:20 ndm: UPnP::Manager: forward rule added: udp PPTP0 -> 192.168.1.106:56008.
Mar 30 05:50:55 ndm: UPnP::Manager: redirect and forward rules deleted: udp 56008.
Mar 30 05:50:55 ndm: UPnP::Manager: redirect rule added: udp PPTP0:56008 -> 192.168.1.106:56008.
Mar 30 05:50:55 ndm: UPnP::Manager: forward rule added: udp PPTP0 -> 192.168.1.106:56008.
Mar 30 05:51:33 ndm: UPnP::Manager: redirect and forward rules deleted: udp 56008.
Mar 30 05:51:33 ndm: UPnP::Manager: redirect rule added: udp PPTP0:56008 -> 192.168.1.106:56008.
Mar 30 05:51:33 ndm: UPnP::Manager: forward rule added: udp PPTP0 -> 192.168.1.106:56008.
Mar 30 05:52:18 ndm: UPnP::Manager: redirect and forward rules deleted: udp 56008.
...
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.