Перейти к содержанию
  • 0

Viva (VPN-Client) + KII (VPN-Server)


Вопрос

Опубликовано

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.

...

Рекомендуемые сообщения

  • 0
Опубликовано
KII - v2.05(AAFG.5)C2 cервера VPN (белый IP, провайдер PPTP)
Не хотите обновить на оф. бэту? 2.05.C.3.0-1, тут всем форумом тестировали.

Поставил, посмотрим.

  • 0
Опубликовано

Пока все нормально, но теперь смущает одно и то же время 03:46 :

...

Mar 30 16:00:20ndhcpc PPTP0: sending INFORM for 192.168.10.1 to 255.255.255.255.

Mar 30 16:00:20ndhcpc PPTP0: received ACK on INFORM for 192.168.10.1 from 255.255.255.255.

Mar 30 16:00:20ndm Dhcp::Client: adding route 192.168.1.0/255.255.255.0/192.168.1.1.

Mar 30 16:01:08pptp[16067] Echo Request received.

Mar 30 16:01:08pptp[16067] Sent control packet type is 6 'Echo-Reply'

Mar 30 16:02:08pptp[16067] Echo Request received.

Mar 30 16:02:08pptp[16067] Sent control packet type is 6 'Echo-Reply'

Mar 30 16:02:08pptp[16067] Echo Reply received.

Mar 30 16:03:08pptp[16067] Echo Request received.

Mar 30 16:03:08pptp[16067] Sent control packet type is 6 'Echo-Reply'

Mar 30 16:04:08pptp[16067] Echo Reply received.

Mar 30 16:05:08pptp[16067] Echo Request received.

Mar 30 16:05:08pptp[16067] Sent control packet type is 6 'Echo-Reply'

Mar 30 16:06:08pptp[16067] Echo Request received.

Mar 30 16:06:08pptp[16067] Sent control packet type is 6 'Echo-Reply'

Mar 30 16:06:08pptp[16067] Echo Reply received.

Mar 30 16:07:08pptp[16067] Echo Request received.

Mar 30 16:07:08pptp[16067] Sent control packet type is 6 'Echo-Reply'

Mar 30 16:08:08pptp[16067] Echo Reply received.

Mar 30 16:08:08pptp[16067] no more Echo Reply/Request packets will be reported.

Mar 30 22:45:46wmond WifiMaster0/AccessPoint0: (RT2860) STA(хх:хх:хх:хх:хх:a8) Pairwise Key Handshaking timeout.

Mar 30 22:45:46wmond WifiMaster0/AccessPoint0: (RT2860) STA(хх:хх:хх:хх:хх:a8) had deauthenticated.

Mar 30 22:45:49ndhcps _WEBADMIN: DHCPREQUEST received (STATE_INIT) for 192.168.130.23 from хх:хх:хх:хх:хх:a8.

Mar 30 22:45:49ndhcps WEBADMIN: sending NAK to хх:хх:хх:хх:хх:a8.

Mar 31 03:46:14pptp[16064] No response to 3 echo-requests

Mar 31 03:46:14pptp[16064] Serial link appears to be disconnected.

Mar 31 03:46:14pptp[16064] Connect time 706.1 minutes.

Mar 31 03:46:14pptp[16064] Sent 256375452 bytes, received 6573389 bytes.

Mar 31 03:46:14ndhcpc PPTP0: NDM DHCP client stopped (exit status 0).

Mar 31 03:46:17pptp[16064] Connection terminated.

Mar 31 03:46:17pptp[16067] Closing connection (unhandled)

Mar 31 03:46:17pptp[16067] Sent control packet type is 12 'Call-Clear-Request'

Mar 31 03:46:17pptp[16067] Closing connection (call state)

Mar 31 03:46:17ndm kernel: Fast VPN ctrl: release for src 195.xx.xx.xx

Mar 31 03:46:17pptp[16064] Exit.

Mar 31 03:46:17ndm Service: "PPTP0": unexpectedly stopped.

Mar 31 03:46:17ndnproxy updating configuration...

Mar 31 03:46:17ndnproxy stats. file: /var/ndnproxymain.stat.

Mar 31 03:46:17ndm Network::Interface::Base: "PPTP0": interface is up.

Mar 31 03:46:20pptp[18913] Plugin pptp.so loaded.

Mar 31 03:46:20pptp[18913] PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4

Mar 31 03:46:21pptp[18913] pppd 2.4.4-4 started by root, uid 0

Mar 31 03:46:21ndm Network::Interface::PPTP: added host route to 195.xx.xx.xx via 10.xx.x.x.

Mar 31 03:46:21pptp[18915] IP: 195.хх.хх.хх

Mar 31 03:46:21pptp[18915] control connection

Mar 31 03:46:21pptp[18915] unix_sock

Mar 31 03:46:21pptp[18916] enable echo requests (30:3)

Mar 31 03:46:21pptp[18916] Sent control packet type is 1 'Start-Control-Connection-Request'

Mar 31 03:46:22pptp[18916] Received Start Control Connection Reply

Mar 31 03:46:22pptp[18916] Client connection established.

Mar 31 03:46:22pptp[18916] Sent control packet type is 7 'Outgoing-Call-Request'

Mar 31 03:46:22pptp[18916] Received Outgoing Call Reply.

Mar 31 03:46:22pptp[18916] Outgoing call established (call ID 294, peer's call ID 3).

Mar 31 03:46:22ndm kernel: Fast VPN ctrl: setup for src 195.xx.xx.xx

Mar 31 03:46:22pptp[18913] Using interface ppp0

Mar 31 03:46:22pptp[18913] Connect: ppp0 <--> pptp (195.xx.xx.xx)

Mar 31 03:46:26pptp[18913] CHAP authentication succeeded

Mar 31 03:46:26pptp[18913] local IP address 192.168.10.1

Mar 31 03:46:26pptp[18913] remote IP address 192.168.1.1

Mar 31 03:46:26pptp[18913] primary DNS address 192.168.1.1

Mar 31 03:46:26pptp[18913] secondary DNS address 192.168.1.1

Mar 31 03:46:26ndm Network::Interface::Base: "PPTP0": interface is up.

Mar 31 03:46:26ndm Network::Interface::PPP: adding nameserver 192.168.1.1.

Mar 31 03:46:26ndnproxy updating configuration...

Mar 31 03:46:26ndnproxy stats. file: /var/ndnproxymain.stat.

Mar 31 03:46:26ndm Dns::Manager: name server 192.168.1.1 added, domain (default).

Mar 31 03:46:26ndm Network::Interface::PPP: adding nameserver 192.168.1.1.

Mar 31 03:46:26ndm Network::Interface::IP: "PPTP0": IP address is 192.168.10.1/32.

Mar 31 03:46:28ndhcpc PPTP0: NDM DHCP client (version 3.0.9) started.

Mar 31 03:46:34ndhcpc PPTP0: sending INFORM for 192.168.10.1 to 255.255.255.255.

Mar 31 03:46:34ndhcpc PPTP0: received ACK on INFORM for 192.168.10.1 from 255.255.255.255.

Mar 31 03:46:34ndm Dhcp::Client: adding route 192.168.1.0/255.255.255.0/192.168.1.1.

Mar 31 03:47:23pptp[18916] Echo Request received.

Mar 31 03:47:23pptp[18916] Sent control packet type is 6 'Echo-Reply'

Mar 31 03:47:23pptp[18916] Echo Reply received.

Mar 31 03:48:23pptp[18916] Echo Request received.

Mar 31 03:48:23pptp[18916] Sent control packet type is 6 'Echo-Reply'

Mar 31 03:48:23pptp[18916] Echo Reply received.

Mar 31 03:49:23pptp[18916] Echo Request received.

Mar 31 03:49:23pptp[18916] Sent control packet type is 6 'Echo-Reply'

Mar 31 03:49:23pptp[18916] Echo Reply received.

Mar 31 03:50:23pptp[18916] Echo Request received.

Mar 31 03:50:23pptp[18916] Sent control packet type is 6 'Echo-Reply'

Mar 31 03:50:23pptp[18916] Echo Reply received.

Mar 31 03:51:23pptp[18916] Echo Request received.

Mar 31 03:51:23pptp[18916] Sent control packet type is 6 'Echo-Reply'

Mar 31 03:51:23pptp[18916] Echo Reply received.

Mar 31 03:51:23pptp[18916] no more Echo Reply/Request packets will be reported.

Mar 31 03:46:17 pptp[460]: LCP terminated by peer (Peer not responding)

Mar 31 03:46:17 pptp[460]: Connect time 706.1 minutes.

Mar 31 03:46:17 pptp[460]: Sent 6664479 bytes, received 255102647 bytes.

Mar 31 03:46:17 pptpd[459]: CTRL: Reaping child PPP[460]

Mar 31 03:46:17 pptpd[459]: CTRL: Client pppd TERM sending

Mar 31 03:46:17 pptpd[459]: CTRL: Client pppd finish wait

Mar 31 03:46:17 pptp[460]: Modem hangup

Mar 31 03:46:17 pptp[460]: Connection terminated.

[W] Mar 31 03:46:17 ndm: kernel: fast vpn ctrl: 2e2d9553, 0

Mar 31 03:46:17 pptp[460]: Exit.

Mar 31 03:46:17 pptpd[459]: CTRL: Client 83.хх.хх.хх control connection finished

Mar 31 03:46:22 pptpd[1734]: CTRL: Client 83.хх.хх.хх control connection started

[W] Mar 31 03:46:23 ndm: kernel: fast vpn ctrl: 2e2d9553, 1

Mar 31 03:46:23 pptpd[1734]: CTRL: Starting call (launching pppd, opening GRE)

Mar 31 03:46:23 pptp[1735]: Plugin pptp.so loaded.

Mar 31 03:46:23 pptp[1735]: PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4

Mar 31 03:46:23 pptp[1735]: pppd 2.4.4-4 started by root, uid 0

Mar 31 03:46:23 pptp[1735]: Using interface vpn1

Mar 31 03:46:23 pptp[1735]: Connect: vpn1 <--> pptp (83.хх.хх.хх)

[E] Mar 31 03:46:26 pptp[1735]: MPPE protocol reject. MPPE is optional. Falling back to non-mppe

Mar 31 03:46:26 pptp[1735]: local IP address 192.168.1.1

Mar 31 03:46:26 pptp[1735]: remote IP address 192.168.10.1

Mar 31 03:46:34 ndhcps: VPN0: DHCPINFORM received for 192.168.10.1 from 00:00:00:00:00:00.

Mar 31 03:46:34 ndhcps: VPN0: sending INFORM to 00:00:00:00:00:00.

Значит ли это если клиент VPN будет иметь динамический адрес, то через 706мин будет сброс и он получит уже другой адрес?

делаю вывод о принудительном сбросе соединения.

  • 0
Опубликовано

Значит ли это если клиент VPN будет иметь динамический адрес, то через 706мин будет сброс и он получит уже другой адрес?

делаю вывод о принудительном сбросе соединения.

там видно только про lcp echo, никаких других причин. кто по Вашему принудительно сбрасывает? поменяйте lcp-интервалы
  • 0
Опубликовано

Значит ли это если клиент VPN будет иметь динамический адрес, то через 706мин будет сброс и он получит уже другой адрес?

делаю вывод о принудительном сбросе соединения.

там видно только про lcp echo, никаких других причин. кто по Вашему принудительно сбрасывает? поменяйте lcp-интервалы

В том то и дело что причин то и нет, да "lcp echo" только в момент установки связи 16:00 и в момент разрыва 03:46.

Принудительно теоретически не кто не должен, но практически под вопросом.

Единственно со стороны Viva канал 4G стоял, осталось только сторона K-II. Посмотрим дальше что будет.

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.
Примечание: Ваш пост будет проверен модератором, прежде чем станет видимым.

Гость
Ответить на вопрос...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

  • Последние посетители   0 пользователей онлайн

    • Ни одного зарегистрированного пользователя не просматривает данную страницу
×
×
  • Создать...

Важная информация

На этом сайте используются файлы cookie. Нажимая "Я принимаю" или продолжая просмотр сайта, вы разрешаете их использование: Политика конфиденциальности.