lixuewei / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

PPTP VPN Server does not work with Android (JellyBean, Kitkat, Lollipop) built-in PPTP VPN client #1471

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Turn on VPN Server
2. Set ANY protocol / auth / encryption
3. set up a client account
4. try to connect from Android built-in VPN client using mobile network or 
foreign wifi (not from the router containing the server).
5. fail

What is the expected output? What do you see instead?

Expected: 

1. connection successful
2. can connect to devices on router LAN

Instead:

1. Connection failed
2. Log (you can see several trials of all possible combinations):
Apr 14 17:58:29 pptpd[27019]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 17:58:29 pptpd[27019]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 17:58:29 pppd[27020]: Plugin pptp.so loaded.
Apr 14 17:58:29 pppd[27020]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 17:58:29 pppd[27020]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 17:58:29 pppd[27020]: Using interface ppp10
Apr 14 17:58:29 pppd[27020]: Connect: ppp10 <--> pptp (94.44.253.88)
Apr 14 17:58:59 pppd[27020]: LCP: timeout sending Config-Requests
Apr 14 17:58:59 pppd[27020]: Connection terminated.
Apr 14 17:58:59 pppd[27020]: Modem hangup
Apr 14 17:58:59 pppd[27020]: Exit.
Apr 14 17:58:59 pptpd[27019]: CTRL: Reaping child PPP[27020]
Apr 14 17:58:59 pptpd[27019]: CTRL: Client pppd TERM sending
Apr 14 17:58:59 pptpd[27019]: CTRL: Client pppd finish wait
Apr 14 17:59:00 pptpd[27019]: CTRL: EOF or bad error reading ctrl packet length.
Apr 14 17:59:00 pptpd[27019]: CTRL: couldn't read packet header (exit)
Apr 14 17:59:00 pptpd[27019]: CTRL: Fatal error reading control message in 
disconnect sequence
Apr 14 17:59:00 pptpd[27019]: CTRL: Client 94.44.253.88 control connection 
finished
Apr 14 17:59:29 pptpd[27027]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 17:59:29 pptpd[27027]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 17:59:29 pppd[27028]: Plugin pptp.so loaded.
Apr 14 17:59:29 pppd[27028]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 17:59:29 pppd[27028]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 17:59:29 pppd[27028]: Using interface ppp10
Apr 14 17:59:29 pppd[27028]: Connect: ppp10 <--> pptp (94.44.253.88)
Apr 14 17:59:59 pppd[27028]: LCP: timeout sending Config-Requests
Apr 14 17:59:59 pppd[27028]: Connection terminated.
Apr 14 17:59:59 pppd[27028]: Modem hangup
Apr 14 17:59:59 pppd[27028]: Exit.
Apr 14 17:59:59 pptpd[27027]: CTRL: Reaping child PPP[27028]
Apr 14 17:59:59 pptpd[27027]: CTRL: Client pppd TERM sending
Apr 14 17:59:59 pptpd[27027]: CTRL: Client pppd finish wait
Apr 14 17:59:59 pptpd[27027]: CTRL: EOF or bad error reading ctrl packet length.
Apr 14 17:59:59 pptpd[27027]: CTRL: couldn't read packet header (exit)
Apr 14 17:59:59 pptpd[27027]: CTRL: Fatal error reading control message in 
disconnect sequence
Apr 14 17:59:59 pptpd[27027]: CTRL: Client 94.44.253.88 control connection 
finished
Apr 14 18:00:16 pptpd[27036]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 18:00:16 pptpd[27036]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 18:00:16 pppd[27037]: Plugin pptp.so loaded.
Apr 14 18:00:16 pppd[27037]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 18:00:16 pppd[27037]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 18:00:16 pppd[27037]: Using interface ppp10
Apr 14 18:00:16 pppd[27037]: Connect: ppp10 <--> pptp (94.44.253.88)
Apr 14 18:00:46 pppd[27037]: LCP: timeout sending Config-Requests
Apr 14 18:00:46 pppd[27037]: Connection terminated.
Apr 14 18:00:46 pppd[27037]: Modem hangup
Apr 14 18:00:46 pppd[27037]: Exit.
Apr 14 18:00:46 pptpd[27036]: CTRL: Reaping child PPP[27037]
Apr 14 18:00:46 pptpd[27036]: CTRL: Client pppd TERM sending
Apr 14 18:00:46 pptpd[27036]: CTRL: Client pppd finish wait
Apr 14 18:00:46 pptpd[27036]: CTRL: EOF or bad error reading ctrl packet length.
Apr 14 18:00:46 pptpd[27036]: CTRL: couldn't read packet header (exit)
Apr 14 18:00:46 pptpd[27036]: CTRL: Fatal error reading control message in 
disconnect sequence
Apr 14 18:00:46 pptpd[27036]: CTRL: Client 94.44.253.88 control connection 
finished
Apr 14 18:01:31 pptpd[27056]: MGR: Maximum of 50 connections reduced to 10, not 
enough IP addresses given
Apr 14 18:01:31 pptpd[27056]: accel-pptpd-0.8.5 compiled for pppd-2.4.7, 
linux-3.4.106
Apr 14 18:01:31 pptpd[27057]: MGR: Manager process started
Apr 14 18:01:31 pptpd[27057]: MGR: Maximum of 10 connections available
Apr 14 18:01:51 pptpd[27082]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 18:01:51 pptpd[27082]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 18:01:51 pppd[27083]: Plugin pptp.so loaded.
Apr 14 18:01:51 pppd[27083]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 18:01:51 pppd[27083]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 18:01:51 pppd[27083]: Using interface ppp10
Apr 14 18:01:51 pppd[27083]: Connect: ppp10 <--> pptp (94.44.253.88)
Apr 14 18:02:21 pppd[27083]: LCP: timeout sending Config-Requests
Apr 14 18:02:21 pppd[27083]: Connection terminated.
Apr 14 18:02:21 pppd[27083]: Modem hangup
Apr 14 18:02:21 pppd[27083]: Exit.
Apr 14 18:02:21 pptpd[27082]: CTRL: Reaping child PPP[27083]
Apr 14 18:02:21 pptpd[27082]: CTRL: Client pppd TERM sending
Apr 14 18:02:21 pptpd[27082]: CTRL: Client pppd finish wait
Apr 14 18:02:22 pptpd[27082]: CTRL: EOF or bad error reading ctrl packet length.
Apr 14 18:02:22 pptpd[27082]: CTRL: couldn't read packet header (exit)
Apr 14 18:02:22 pptpd[27082]: CTRL: Fatal error reading control message in 
disconnect sequence
Apr 14 18:02:22 pptpd[27082]: CTRL: Client 94.44.253.88 control connection 
finished
Apr 14 18:02:28 pptpd[27101]: MGR: Maximum of 50 connections reduced to 10, not 
enough IP addresses given
Apr 14 18:02:28 pptpd[27101]: accel-pptpd-0.8.5 compiled for pppd-2.4.7, 
linux-3.4.106
Apr 14 18:02:28 pptpd[27102]: MGR: Manager process started
Apr 14 18:02:28 pptpd[27102]: MGR: Maximum of 10 connections available
Apr 14 18:02:41 pptpd[27126]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 18:02:42 pptpd[27126]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 18:02:42 pppd[27127]: Plugin pptp.so loaded.
Apr 14 18:02:42 pppd[27127]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 18:02:42 pppd[27127]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 18:02:42 pppd[27127]: Using interface ppp10
Apr 14 18:02:42 pppd[27127]: Connect: ppp10 <--> pptp (94.44.253.88)
Apr 14 18:03:12 pppd[27127]: LCP: timeout sending Config-Requests
Apr 14 18:03:12 pppd[27127]: Connection terminated.
Apr 14 18:03:12 pppd[27127]: Modem hangup
Apr 14 18:03:12 pppd[27127]: Exit.
Apr 14 18:03:12 pptpd[27126]: CTRL: Reaping child PPP[27127]
Apr 14 18:03:12 pptpd[27126]: CTRL: Client pppd TERM sending
Apr 14 18:03:12 pptpd[27126]: CTRL: Client pppd finish wait
Apr 14 18:03:12 pptpd[27126]: CTRL: EOF or bad error reading ctrl packet length.
Apr 14 18:03:12 pptpd[27126]: CTRL: couldn't read packet header (exit)
Apr 14 18:03:12 pptpd[27126]: CTRL: Fatal error reading control message in 
disconnect sequence
Apr 14 18:03:12 pptpd[27126]: CTRL: Client 94.44.253.88 control connection 
finished
Apr 14 18:03:40 pptpd[27146]: MGR: Maximum of 50 connections reduced to 10, not 
enough IP addresses given
Apr 14 18:03:40 pptpd[27146]: accel-pptpd-0.8.5 compiled for pppd-2.4.7, 
linux-3.4.106
Apr 14 18:03:40 pptpd[27147]: MGR: Manager process started
Apr 14 18:03:40 pptpd[27147]: MGR: Maximum of 10 connections available
Apr 14 18:03:52 pptpd[27171]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 18:03:53 pptpd[27171]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 18:03:53 pppd[27172]: Plugin pptp.so loaded.
Apr 14 18:03:53 pppd[27172]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 18:03:53 pppd[27172]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 18:03:53 pppd[27172]: Using interface ppp10
Apr 14 18:03:53 pppd[27172]: Connect: ppp10 <--> pptp (94.44.253.88)
Apr 14 18:04:15 pptpd[27171]: CTRL: EOF or bad error reading ctrl packet length.
Apr 14 18:04:15 pptpd[27171]: CTRL: couldn't read packet header (exit)
Apr 14 18:04:15 pptpd[27171]: CTRL: CTRL read failed
Apr 14 18:04:15 pptpd[27171]: CTRL: Reaping child PPP[27172]
Apr 14 18:04:15 pptpd[27171]: CTRL: Client pppd TERM sending
Apr 14 18:04:15 pptpd[27171]: CTRL: Client pppd finish wait
Apr 14 18:04:15 pppd[27172]: Terminating on signal 15
Apr 14 18:04:16 pptpd[27176]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 18:04:17 pptpd[27176]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 18:04:17 pppd[27177]: Plugin pptp.so loaded.
Apr 14 18:04:17 pppd[27177]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 18:04:17 pppd[27177]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 18:04:17 pppd[27177]: Couldn't allocate PPP unit 10 as it is already in 
use
Apr 14 18:04:17 pppd[27177]: Using interface ppp11
Apr 14 18:04:17 pppd[27177]: Connect: ppp11 <--> pptp (94.44.253.88)
Apr 14 18:04:21 pppd[27172]: Connection terminated.
Apr 14 18:04:21 pppd[27172]: Modem hangup
Apr 14 18:04:21 pppd[27172]: Exit.
Apr 14 18:04:21 pptpd[27171]: CTRL: Client 94.44.253.88 control connection 
finished
Apr 14 18:04:47 pppd[27177]: LCP: timeout sending Config-Requests
Apr 14 18:04:47 pppd[27177]: Connection terminated.
Apr 14 18:04:47 pppd[27177]: Modem hangup
Apr 14 18:04:47 pppd[27177]: Exit.
Apr 14 18:04:47 pptpd[27176]: CTRL: Reaping child PPP[27177]
Apr 14 18:04:47 pptpd[27176]: CTRL: Client pppd TERM sending
Apr 14 18:04:47 pptpd[27176]: CTRL: Client pppd finish wait
Apr 14 18:04:51 pptpd[27176]: CTRL: Client 94.44.253.88 control connection 
finished
Apr 14 18:04:51 pptpd[27199]: MGR: Maximum of 50 connections reduced to 10, not 
enough IP addresses given
Apr 14 18:04:51 pptpd[27199]: accel-pptpd-0.8.5 compiled for pppd-2.4.7, 
linux-3.4.106
Apr 14 18:04:51 pptpd[27200]: MGR: Manager process started
Apr 14 18:04:51 pptpd[27200]: MGR: Maximum of 10 connections available
Apr 14 18:04:58 pptpd[27224]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 18:04:59 pptpd[27224]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 18:04:59 pppd[27225]: Plugin pptp.so loaded.
Apr 14 18:04:59 pppd[27225]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 18:04:59 pppd[27225]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 18:04:59 pppd[27225]: Using interface ppp10
Apr 14 18:04:59 pppd[27225]: Connect: ppp10 <--> pptp (94.44.253.88)
Apr 14 18:05:29 pppd[27225]: LCP: timeout sending Config-Requests
Apr 14 18:05:29 pppd[27225]: Connection terminated.
Apr 14 18:05:29 pppd[27225]: Modem hangup
Apr 14 18:05:29 pppd[27225]: Exit.
Apr 14 18:05:29 pptpd[27224]: CTRL: Reaping child PPP[27225]
Apr 14 18:05:29 pptpd[27224]: CTRL: Client pppd TERM sending
Apr 14 18:05:29 pptpd[27224]: CTRL: Client pppd finish wait
Apr 14 18:05:29 pptpd[27224]: CTRL: EOF or bad error reading ctrl packet length.
Apr 14 18:05:29 pptpd[27224]: CTRL: couldn't read packet header (exit)
Apr 14 18:05:29 pptpd[27224]: CTRL: Fatal error reading control message in 
disconnect sequence
Apr 14 18:05:29 pptpd[27224]: CTRL: Client 94.44.253.88 control connection 
finished
Apr 14 18:05:46 pptpd[27244]: MGR: Maximum of 50 connections reduced to 10, not 
enough IP addresses given
Apr 14 18:05:46 pptpd[27244]: accel-pptpd-0.8.5 compiled for pppd-2.4.7, 
linux-3.4.106
Apr 14 18:05:46 pptpd[27245]: MGR: Manager process started
Apr 14 18:05:46 pptpd[27245]: MGR: Maximum of 10 connections available
Apr 14 18:05:53 pptpd[27269]: CTRL: Client 94.44.253.88 control connection 
started
Apr 14 18:05:54 pptpd[27269]: CTRL: Starting call (launching pppd, opening GRE)
Apr 14 18:05:54 pppd[27270]: Plugin pptp.so loaded.
Apr 14 18:05:54 pppd[27270]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7
Apr 14 18:05:54 pppd[27270]: pppd 2.4.7 started by vltakacs, uid 0
Apr 14 18:05:54 pppd[27270]: Using interface ppp10
Apr 14 18:05:54 pppd[27270]: Connect: ppp10 <--> pptp (94.44.253.88)
Apr 14 18:06:24 pppd[27270]: LCP: timeout sending Config-Requests
Apr 14 18:06:24 pppd[27270]: Connection terminated.
Apr 14 18:06:24 pppd[27270]: Modem hangup
Apr 14 18:06:24 pppd[27270]: Exit.
Apr 14 18:06:24 pptpd[27269]: CTRL: Reaping child PPP[27270]
Apr 14 18:06:24 pptpd[27269]: CTRL: Client pppd TERM sending
Apr 14 18:06:24 pptpd[27269]: CTRL: Client pppd finish wait
Apr 14 18:06:24 pptpd[27269]: CTRL: EOF or bad error reading ctrl packet length.
Apr 14 18:06:24 pptpd[27269]: CTRL: couldn't read packet header (exit)
Apr 14 18:06:24 pptpd[27269]: CTRL: Fatal error reading control message in 
disconnect sequence
Apr 14 18:06:24 pptpd[27269]: CTRL: Client 94.44.253.88 control connection 
finished

What version of the product are you using? On what operating system?

-I have tried several versions on N14U since 3.0, currently 3.4.3.9-093

Could not attach the log: "Issue attachment storage quota exceeded" so pasted 
in inline above

Please advise or suggest a fix :)

Thanks,
Viktor

Original issue reported on code.google.com by vik...@takacs.it on 14 Apr 2015 at 4:22

GoogleCodeExporter commented 9 years ago
Hi Dear Devs,

I have tried to follow these instructions 
https://code.google.com/p/rt-n56u/wiki/BuiltInVpnServer
when configuring, but did not help me.

Please, even if it is not a bug, could you instruct me how to resolve? Thanks 
in advance!

Original comment by vik...@takacs.it on 14 Apr 2015 at 5:07