Good day. In the Amazon instance, AWS costs ubuntu. Raised pptpd. It worked like normal. Cling from under Windows and poppy. But last week I updated the poppy to Sierra. They removed the ability to use PPTP vpn. Now there are third-party programs like Shimo or VPN Tracker. And with them an interesting problem. The connection lives exactly minutes and shuts up. Moreover, the connection does not fall and just shut up the packets from the client fly away and in response does not fly anything. Here is the log:

 eb 17 15:22:10 ip-172-31-52-255 pptpd [10131]: CTRL: Sending ECHO REQ id 1 Feb 17 15:22:10 ip-172-31-52-255 pptpd [10131]: CTRL : Made a ECHO REQ packet Feb 17 15:22:10 ip-172-31-52-255 pptpd [10131]: CTRL: I wrote 16 bytes to the client.  Feb 17 15:22:10 ip-172-31-52-255 pptpd [10131]: CTRL: Sent packet to client Feb 17 15:22:10 ip-172-31-52-255 pptpd [10131]: CTRL: EOF or bad error reading ctrl packet length.  Feb 17 15:22:10 ip-172-31-52-255 pptpd [10131]: CTRL: couldn't read packet header (exit) Feb 17 15:22:10 ip-172-31-52-255 pptpd [ 10131]: CTRL: CTRL read failed Feb 17 15:22:10 ip-172-31-52-255 pptpd [10131]: CTRL: Reaping child PPP [10132] Feb 17 15:22:10 ip-172-31- 52-255 pppd [10132]: Hangup (SIGHUP) Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: Modem hangup Feb 17 15:22:10 ip-172-31-52- 255 pppd [10132]: pptpd-logwtmp.so ip-down ppp0 Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: Connect time 1.0 minutes.  Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: Sent 136764 bytes, received 67167 bytes.  Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: Script / etc / ppp / ip-down started (pid 10221) Feb 17 15:22:10 ip-172-31-52- 255 pppd [10132]: MPPE disabled Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: sent [LCP TermReq id = 0x3 "MPPE disabled"] Feb 17 15:22:10 ip- 172-31-52-255 pppd [10132]: Connection terminated.  Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: Waiting for 1 child processes ... Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: script / etc / ppp / ip-down, pid 10221 Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: Script / etc / ppp / ip-down finished (pid 10221), status = 0x0 Feb 17 15:22:10 ip-172-31-52-255 pppd [10132]: Exit.  Feb 17 15:22:10 ip-172-31-52-255 pptpd [10131]: CTRL: Client 91.201.110.166 control connection finished Feb 17 15:22:10 ip-172-31-52-255 pptpd [10131] : CTRL: Exiting now 

At the beginning, he sinned that these clients were crookedly written, but they perfectly cling to another server under FreBsd where mpd5 is raised. Began to sin on a crooked configured server. But the client from under Windows perfectly clings to it and does not fall. Vobshchem who can what, prompt misters.

  • Probably, the client should somehow explain that "MPPE is disabled" , and do not try to use it. - aleksandr barakin
  • MPPE is not really disabled, but I tried the same thing without encryption. the channel lives for one minute .... What is mystic, the Windows client works very well. And this poppy client also works on other servers. - Vladimir Prokopchuk

0