Александр Рыжов Posted October 21, 2015 Share Posted October 21, 2015 Созданное в Andriod соединение работает, всё в порядке: [i] Oct 21 12:05:05 pptpd[245]: CTRL: Client 44.44.44.44 control connection started [i] Oct 21 12:05:05 ndm: kernel: Fast VPN ctrl: setup for src 44.44.44.44 [i] Oct 21 12:05:05 pptpd[245]: CTRL: Starting call (launching pppd, opening GRE) [i] Oct 21 12:05:05 pptp[246]: Plugin pptp.so loaded. [i] Oct 21 12:05:05 pptp[246]: PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4 [i] Oct 21 12:05:05 pptp[246]: pppd 2.4.4-4 started by root, uid 0 [i] Oct 21 12:05:05 pptp[246]: Using interface vpn1 [i] Oct 21 12:05:05 pptp[246]: Connect: vpn1 <--> pptp (44.44.44.44) [i] Oct 21 12:05:08 pptp[246]: MPPE 40-bit stateless compression enabled [i] Oct 21 12:05:08 pptp[246]: local IP address 10.9.69.1 [i] Oct 21 12:05:08 pptp[246]: remote IP address 172.16.1.33 … [i] Oct 21 12:05:49 pptp[246]: LCP terminated by peer (MPPE disabled) [i] Oct 21 12:05:49 pptp[246]: Connect time 0.7 minutes. [i] Oct 21 12:05:49 pptp[246]: Sent 96 bytes, received 474 bytes. [E] Oct 21 12:05:49 pptpd[245]: CTRL: EOF or bad error reading ctrl packet length. [E] Oct 21 12:05:49 pptpd[245]: CTRL: couldn't read packet header (exit) [E] Oct 21 12:05:49 pptpd[245]: CTRL: CTRL read failed [i] Oct 21 12:05:49 pptpd[245]: CTRL: Reaping child PPP[246] [i] Oct 21 12:05:49 pptpd[245]: CTRL: Client pppd TERM sending [i] Oct 21 12:05:49 pptpd[245]: CTRL: Client pppd finish wait [i] Oct 21 12:05:49 pptp[246]: Modem hangup [i] Oct 21 12:05:49 pptp[246]: Connection terminated. [i] Oct 21 12:05:49 ndm: kernel: Fast VPN ctrl: release for src 44.44.44.44 [i] Oct 21 12:05:49 pptp[246]: Exit. [i] Oct 21 12:05:49 pptpd[245]: CTRL: Client 44.44.44.44 control connection finished Созданное в Windows 10 соединение после коннекта тут же обрывается: [i] Oct 21 12:06:16 pptpd[252]: CTRL: Client 44.44.44.44 control connection started [i] Oct 21 12:06:16 ndm: kernel: Fast VPN ctrl: setup for src 44.44.44.44 [i] Oct 21 12:06:16 pptpd[252]: CTRL: Starting call (launching pppd, opening GRE) [i] Oct 21 12:06:16 pptp[253]: Plugin pptp.so loaded. [i] Oct 21 12:06:16 pptp[253]: PPTP plugin version 0.8.3 compiled against pppd 2.4.4-4 [i] Oct 21 12:06:16 pptp[253]: pppd 2.4.4-4 started by root, uid 0 [i] Oct 21 12:06:16 pptp[253]: Using interface vpn1 [i] Oct 21 12:06:16 pptp[253]: Connect: vpn1 <--> pptp (44.44.44.44) [i] Oct 21 12:06:16 pptpd[252]: CTRL: Reaping child PPP[253] [i] Oct 21 12:06:16 pptpd[252]: CTRL: Client pppd TERM sending [i] Oct 21 12:06:16 pptpd[252]: CTRL: Client pppd finish wait [i] Oct 21 12:06:16 pptp[253]: Modem hangup [i] Oct 21 12:06:16 pptp[253]: Connection terminated. [i] Oct 21 12:06:16 ndm: kernel: Fast VPN ctrl: release for src 44.44.44.44 [i] Oct 21 12:06:16 pptp[253]: Exit. [i] Oct 21 12:06:16 pptpd[252]: CTRL: Client 44.44.44.44 control connection finished ЧЯДНТ? В свойствах соединения на закладке «Безопасность» выбран протокол проверки подлинности «(EAP-MSCHAP v2) шифрование включено». Если переключаюсь на протокол CHAP/MS-CHAP v2 (согласно рекомендациям), то получаю в логе сообщение: Oct 21 12:25:51pptp[262] Connect: vpn1 <--> pptp (44.44.44.44) Oct 21 12:25:51pptp[262] MPPE required but cannot negotiate MPPE key length Oct 21 12:25:51pptp[262] Connection terminated. Oct 21 12:25:51pptpd[261] CTRL: Reaping child PPP[262] Quote Link to comment Share on other sites More sharing options...
0 McMCC Posted October 21, 2015 Share Posted October 21, 2015 Пишет, что ключ не той длины. В первом же случае, MPPE вообще не используется. Quote Link to comment Share on other sites More sharing options...
0 Александр Рыжов Posted October 21, 2015 Author Share Posted October 21, 2015 (edited) [не актуально] Edited November 11, 2015 by Guest Quote Link to comment Share on other sites More sharing options...
0 ndm Posted October 21, 2015 Share Posted October 21, 2015 Попробуйте это. Quote Link to comment Share on other sites More sharing options...
0 Александр Рыжов Posted October 21, 2015 Author Share Posted October 21, 2015 Помогло! Спасибо. Quote Link to comment Share on other sites More sharing options...
Question
Александр Рыжов
Созданное в Andriod соединение работает, всё в порядке:
Созданное в Windows 10 соединение после коннекта тут же обрывается:
ЧЯДНТ? В свойствах соединения на закладке «Безопасность» выбран протокол проверки подлинности «(EAP-MSCHAP v2) шифрование включено».
Если переключаюсь на протокол CHAP/MS-CHAP v2 (согласно рекомендациям), то получаю в логе сообщение:
Link to comment
Share on other sites
4 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.