I've been trying to get my PPTP VPN to work over verizon 3g for the past few weeks, but it never works. It connects, and the data stops being received after a matter of seconds. It works absolutely fine over wifi, just not over 3g. I thought this was verizon's fault, but then I found a google group where I discovered that ALL Android owners trying to use PPTP over their carrier's mobile network are having the EXACT SAME PROBLEM!!
Is there any easy fix to this? I can't believe Google has let this go on for more than a year since people started complaining about it. This is a major flaw and a dealbreaker for enterprise users.
Any suggestions? See below for string about problem involving ALL ANDROID PHONES:
See the string below for more detail:
http://code.google.com/p/android/issues/detail?id=4706
I'm not sure what pptp is, but I got my corporate email to work through the native email app. The emails are pushed, but I get fc when I try to read any messages. It worked for a few weeks before crapping out one day
Sent from my M860 using XDA App
never worked for me either, really annoying after coming from iphone where vpn work perfectly.
Installed OpenVPN then which works like a charm so maybe you should try that. You need to be rooted though afaik.
eXOuT said:
never worked for me either, really annoying after coming from iphone where vpn work perfectly.
Installed OpenVPN then which works like a charm so maybe you should try that. You need to be rooted though afaik.
Click to expand...
Click to collapse
I tried doing OpenVPN, but when I looked up the instructions, they were way beyond my computer programming abilities. Even the person who posted the "simple" instructions in this forum started referring to files I'd never heard of - config files, adb, etc. I REALLY need to get VPN to work on my phone, is there any chance you'd be willing to explain, in layman's terms, how to set it up on Android?
VPN do work on Android...
May be there might be some issues with the configuration, why don't you configure it once again. It will definitely help you out
Well i just have found some useful information for you, first of all that there are number of VPN Providers who are offering Free Android VPN and as well as the query mentioned above that you guys are having problem with your android phone..
so as i suggested above, try to configure again. May be that helps you out...
Go to Bestvpnservice, and find out the setup for Android VPN
Visit: bestvpnservice.com
Stockmoose16 said:
This is a major flaw and a dealbreaker for enterprise users.
Click to expand...
Click to collapse
PPTP is broken and all security-aware enterprises have migrated to more secure solutions ages ago. I don't think it's a priority to get it working, but obviously it should work if it's included by default!
Trying to make a VPN connection from my new Droid Charge to a Microsoft server at work. This works fine on my G1 running CM6. I've tried it on Wifi and 3g with no luck. It tells me "Server negotiation failed. Server may disagree with your encryption option." I have encryption turned on just like I do on the G1. Turning it off doesn't work either (because the server requires it and what kind of vpn is it without encryption?).
Anyone have experience with this working or not?
More info:
I'm running ED1, rooted.
Found this in logcat
E/pppd (16706): MPPE required, but kernel has no support.
This lead me to find that other phones have this issue too. So, I guess the question becomes, does anyone know of a fix for this?
velocityfactor said:
Trying to make a VPN connection from my new Droid Charge to a Microsoft server at work. This works fine on my G1 running CM6. I've tried it on Wifi and 3g with no luck. It tells me "Server negotiation failed. Server may disagree with your encryption option." I have encryption turned on just like I do on the G1. Turning it off doesn't work either (because the server requires it and what kind of vpn is it without encryption?).
Anyone have experience with this working or not?
More info:
I'm running ED1, rooted.
Found this in logcat
E/pppd (16706): MPPE required, but kernel has no support.
This lead me to find that other phones have this issue too. So, I guess the question becomes, does anyone know of a fix for this?
Click to expand...
Click to collapse
Me too. Anybody else? Has there been a resolution for this?
It's a pia to do. I use a company exchange if your trying to do that you have to get with your it department and have them manually set it up. If its not company you will still have to manually set it up. Just google what your trying to set up and there is a how to on almost every type of server. Hope this helps.
Sent from my SCH-I510 using XDA App
I juzt reread your post. Vpn is a company deal. You will have to contact company it guy. You will have to manually put in you server address and a couple of other things.
Sent from my SCH-I510 using XDA App
PPTP Encrypted VPN doesn't work on the Charge, just as it didn't on the Droid X. The issue isn't on any companies IT, it is an issue with the phone. Go to any Verizon store and pick up the Thunderbolt and enter your VPN credentials and it will work. If you do the same on the Charge it will fail.
For anyone interested in playing with it, I have built the ppp_mppe.ko module that is missing to make the PPTP with encryption work. My initial testing shows that it connects and passes traffic. Unfortunately, after a few minutes it stops passing traffic but remains connected. I need to investigate the logs...
To try it, open a terminal, cd to the folder where you stored it, su (YOU NEED ROOT), "insmod ppp_mppe.ko", and then go try an encrypted VPN PPTP connection. Mine failed the first time, and then worked on subsequent connections.
e081820061574b1ab1188294e62e1cff ppp_mppe.ko
I'm curious to see if anyone here cares about this and how it works for you.
Shayne
I'm really interested in make my VPN work. I'm using CM7 on Galaxy Tab. I don't think your module was made for my kernel.
Is this ever going to be fixed? I'm able to connect to my PPTP VPN provider, and it requires encryption. I can ping out for a while... but as soon as I open the browser or other app the actually uses the net the pings stop and connection stops transmitting, although still connected. So frustrating...
Yeah, the module isn't going to work on other devices.
I get the same result as you when I do a PPTP connection. Actually when I posted this I hadn't dug deep enough to find that this was a long standing problem, and I just figured that getting the module loaded in would fix it.
Seems like this module should be where the bug is, but I haven't had time to look at it more closely. Apparently there aren't enough people that care about this feature.
Looks like this problem is related to the MTU. I can send/rcv 1380 byte pings, but anything bigger causes the connection to quit working. I'm thinking that rebuilding pppd with a lower MTU might be interesting, but I need to get set up to do that. pppd does not pay attention to config files, and mtpd, akaik, doesn't pass an mtu/mru arg to it.
velocityfactor said:
Looks like this problem is related to the MTU. I can send/rcv 1380 byte pings, but anything bigger causes the connection to quit working. I'm thinking that rebuilding pppd with a lower MTU might be interesting, but I need to get set up to do that. pppd does not pay attention to config files, and mtpd, akaik, doesn't pass an mtu/mru arg to it.
Click to expand...
Click to collapse
I have come across this blog with some mtpd command line examples, see if it helps on manually connecting with custom MTUs.
I also tried a couple suggestions of changing MTU on the eth0 to 1480 and 1380 before and after connecting to the VPN, without any success. Also tried different MTUs on ppp0 after connection also with no success.
I just wanted to say that even though this stuff is far too above my head for me to contribute, thanks for working on this!
Now I can keep daydreaming about turning my phone into a PPTP server...
I understand that this thread hasn't been active for a while, however, I do want to say thanks for this! With the provided module, I was finally able to connect to our VPN server using PPTP with encryption. In fact, I was able to do so as well over 4G. I read through several threads on various sites regarding the commonality of this issue and possible firewall NAT restrictions on Verizon's behalf. It seems it was just a module needed that fixed all this.
On a side note, I haven't had the connection dropped so far. I'm about 1000 ping sequence in and connectivity is still up and running. Not sure if this is an effective means of validation it.
If it helps others looking into this issue as well, note, that I've tried virtually all available kernels as of date to this posting. Nothing worked. This module was the only thing that granted access to our VPN server.
Update: Spoke to soon. After attempting to log into a server, data was no longer able to pass through.
I'm glad to hear it has helped you. It didn't turn out to help me.
To test it further, I suggest you pass some real traffic over it. Regular ping traffic doesn't cause the loss of connection that I'm familiar with. If it continues to work, count yourself lucky, and you might want to convince your favorite kernel builder (imnuts, maybe) to include that module.
I spent some time looking into the dropped connection issue and was not successful at finding a solution. What I think I learned is that when the pptp server handles a packet larger than the mru and fragments the packet, the first fragment decrypts ok, but the second fragment decrypts to junk. It's supposed to be stateless encryption, but all subsequent packets silently fail to decrypt. Thus, all traffic stops moving and the link eventually times out.
This problem only seems to affect the reception of packets. The outgoing traffic seems to be unaffected.
The PPP and MPPE code in the froyo kernel is unchanged from that in the mainstream Linux kernel. My Ubuntu desktop can do PPTP with MPPE no problem. So why can't froyo?
This was absorbing too much of my time, so I finally gave in and set up L2TP.
velocityfactor said:
The PPP and MPPE code in the froyo kernel is unchanged from that in the mainstream Linux kernel. My Ubuntu desktop can do PPTP with MPPE no problem. So why can't froyo?
Click to expand...
Click to collapse
I'm not entirely sure if froyo's at fault as I was able to confirm with a few of my colleagues that they were able to VPN with PPTP just fine on their non-charge device that's on froyo. Additionally, I even tried the GB leak but ended up with the same results.
velocityfactor said:
This was absorbing too much of my time, so I finally gave in and set up L2TP.
Click to expand...
Click to collapse
Thanks for taking a stab at this though. It does seem that there isn't a big call for this feature within the community; a huge bummer for those that does need it.
Problem details
I have this problem with my HTC Inspire 4G and I've been researching it a lot.
The error reported on PPTP server side suggests that Android PPTP client tries to negotiate unsupported protocol:
pppd: Protocol-Reject for unsupported protocol 0xxx
but it is a misleading message since initially the protocol is negotiated correctly and the connection is established. Only after several dozens of frames are transmitted the error appears and it repeats with different value of unsupported protocol in the message.
Since then the PPTP tunnel is out of sync and Android client sends effectively random octets from the MPPE encryption module.
I will include links here to Web pages with details FYI if you are interested in more details about it.
http://www.securitykiss.com/resources/articles/android_vpn_bug/index.php
http://code.google.com/p/android/issues/detail?id=10901
http://code.google.com/p/android/issues/detail?id=4706
velocityfactor said:
This was absorbing too much of my time, so I finally gave in and set up L2TP.
Click to expand...
Click to collapse
Interesting that PPTP failed you, but L2TP worked. I had the opposite experience. A stock unrooted Android 2.2.2 connected to a debian pptpd just fine, mostly with default settings. (although I didn't go as far as to route traffic, just confirmed that there's an encrypted connection)
But it's ipsec that doesn't work for me. Would you please post the L2TP server configuration that works for you?
I'll post the PPTP server settings if anyone is interested.
The PPTP doesn't fail until you send traffic. Specifically, it works ok until you send a large packet that get fragmented. Then it seems the encryption becomes out of sync and things go downhill from there.
My L2TP is running on Windows Server just using default settings, so nothing to post really.
This thread should probably be closed since it doesn't really relate to the Charge specifically and the fix isn't "getting close" afaik.
Shayne
At this point, I essentially gave up on PPTP on the Charge (more specifically, Froyo and Gingerbread), but I did some testing on ICS the Galaxy Nexus. The Galaxy Nexus works fine with my DD-WRT PPTP server. I didn't notice any issues with it.
But yeah, on both Froyo and Gingerbread I could get a PPTP connection to link up, but no traffic would pass.
Thankfully it seems that Google got it right with ICS, now I just have to spend more money on an ICS phone to get the features they advertise
Perhaps ICS will roll out to the Charge, but I'm not going to bet the farm on it. It would be interesting to try PPTP connectivity on JT's ICS build, but I do need the cellular radios to work so I haven't gotten around to trying it yet.
xdadevnube said:
At this point, I essentially gave up on PPTP on the Charge (more specifically, Froyo and Gingerbread), but I did some testing on ICS the Galaxy Nexus. The Galaxy Nexus works fine with my DD-WRT PPTP server. I didn't notice any issues with it.
But yeah, on both Froyo and Gingerbread I could get a PPTP connection to link up, but no traffic would pass.
Thankfully it seems that Google got it right with ICS, now I just have to spend more money on an ICS phone to get the features they advertise
Perhaps ICS will roll out to the Charge, but I'm not going to bet the farm on it. It would be interesting to try PPTP connectivity on JT's ICS build, but I do need the cellular radios to work so I haven't gotten around to trying it yet.
Click to expand...
Click to collapse
I think samsung screwed it up more than the OS.
xdadevnube said:
At this point, I essentially gave up on PPTP on the Charge (more specifically, Froyo and Gingerbread), but I did some testing on ICS the Galaxy Nexus. The Galaxy Nexus works fine with my DD-WRT PPTP server. I didn't notice any issues with it.
But yeah, on both Froyo and Gingerbread I could get a PPTP connection to link up, but no traffic would pass.
Thankfully it seems that Google got it right with ICS, now I just have to spend more money on an ICS phone to get the features they advertise
Perhaps ICS will roll out to the Charge, but I'm not going to bet the farm on it. It would be interesting to try PPTP connectivity on JT's ICS build, but I do need the cellular radios to work so I haven't gotten around to trying it yet.
Click to expand...
Click to collapse
Interesting, as my galaxy nexus on 4.0.4 is unable to effectively access my ddwrt based pptp Vpn server. With mppe encryption enabled, it won't connect at all. With encryption disabled, it connects but incoming traffic stalls like many people above mentioned. Nothing on the remote wan or remote LAN seem to be accessible from the phone as best as I can tell.
Ddwrt vpn server is configured correctly as my windows 7 PC can connect to it without a problem.
Haadkoe said:
Interesting, as my galaxy nexus on 4.0.4 is unable to effectively access my ddwrt based pptp Vpn server. With mppe encryption enabled, it won't connect at all. With encryption disabled, it connects but incoming traffic stalls like many people above mentioned. Nothing on the remote wan or remote LAN seem to be accessible from the phone as best as I can tell.
Ddwrt vpn server is configured correctly as my windows 7 PC can connect to it without a problem.
Click to expand...
Click to collapse
I dunno, but I just got it working on ICS 4.03 CleanROM Kang Tapped Edition for the HTC Rezound.
MPPE enabled.
It passes traffic, can browse the web, copy files from a network share. Connectivity does not get lost.
It does use the remote gateway.
I didn't check on if it was possible to set a local gateway.
Anyways, I've been waiting for this damned feature for quite some time.
If all you want to do is access your PC's files, I suggest PocketCloud Explore.
It is pretty tight.
Haadkoe said:
Interesting, as my galaxy nexus on 4.0.4 is unable to effectively access my ddwrt based pptp Vpn server. With mppe encryption enabled, it won't connect at all. With encryption disabled, it connects but incoming traffic stalls like many people above mentioned. Nothing on the remote wan or remote LAN seem to be accessible from the phone as best as I can tell.
Ddwrt vpn server is configured correctly as my windows 7 PC can connect to it without a problem.
Click to expand...
Click to collapse
there is a specific way to force Encryption on the PPTP server on ddwrt
More info.
http://www.dd-wrt.com/wiki/index.php/PPTP_Server_Configuration
Okay, for anybody interested, I did get successful VPN with encryption working on the Droid Charge with an app called VPNRoot:
https://play.google.com/store/apps/details?id=com.did.vpnroot&hl=en
Plus, this allows one to have no pin or pattern unlock, no lock screen at all actually.
It worked for me on both the Droid Charge with Tweakstock 2.0 and the HTC Rezound with an ICS ROM.
I paid for the pro version of the VPNRoot app by donating to the dev. Now I finally have the feature I wanted over a year ago when I got my Charge.
ICS works with VPN, but you have to have a pin or pattern lockscreen on your phone. If you disable the lockscreen with NoLock or via a tweak, you still have to enter your pin or pattern every time you click a notification....
VPNRoot does exactly what I want. For some reason at first I had trouble with it, but the latest version seemed to fix all the issues.
I haven't done thorough testing on speed yet, but hopefully will soon.
xdadevnube said:
Okay, for anybody interested, I did get successful VPN with encryption working on the Droid Charge with an app called VPNRoot:
https://play.google.com/store/apps/details?id=com.did.vpnroot&hl=en
Plus, this allows one to have no pin or pattern unlock, no lock screen at all actually.
It worked for me on both the Droid Charge with Tweakstock 2.0 and the HTC Rezound with an ICS ROM.
I paid for the pro version of the VPNRoot app by donating to the dev. Now I finally have the feature I wanted over a year ago when I got my Charge.
ICS works with VPN, but you have to have a pin or pattern lockscreen on your phone. If you disable the lockscreen with NoLock or via a tweak, you still have to enter your pin or pattern every time you click a notification....
VPNRoot does exactly what I want. For some reason at first I had trouble with it, but the latest version seemed to fix all the issues.
I haven't done thorough testing on speed yet, but hopefully will soon.
Click to expand...
Click to collapse
VPNRoot works great, thanks! I have the same issue on my Hyundai T7 with android 4.0.4, times out connecting to my VPN, but this app solves that problem.
I'm using vpn root on a s4 with stock ics firmware.
it can connect but times out all the time.
I can do google searches fine but trying to load any Web page just hangs.
have a pptp vpn on dd-wrt.
is there any settings I need to change?
Is anyone having problem connecting to vpn with transformer? My iphone can connect on the same wifi network, so it may not be the firewall or port forward issue. Any clue? Getting error -server hungup.
golam1 said:
Is anyone having problem connecting to vpn with transformer? My iphone can connect on the same wifi network, so it may not be the firewall or port forward issue. Any clue? Getting error -server hungup.
Click to expand...
Click to collapse
I have several PPTP connections setup and working on my Transformer. In order for people here to help, you'll probably need to provide more details:
What type of VPN connection is giving you trouble? PPTP, L2TP, IPSEC?
What type of firewall or device are you trying to connect to? SonicWall, Watchguard, pfSense, etc
What is the verbatim error message you are getting? is it really just "server hungup"?
Can you provide any log files from the VPN server that you are trying to connect to that shows where the failure is?
I've tried both on PPTP and L2TP. The exact wording of the error message is 'Server hung up. The username and password you entered could be incorrect'. The same configuration works on my iphone and 2 other computers on the same wifi network.
Unfortunately, without being able to see log files from the device you are trying to connect to I could only make a wild guess as to what is happening.
The problem I find most frequently with PPTP connections is comming up with a combination of authentication and encryption protocols that are supported on both the client and host.
The only thing I could suggest would be to try changing some of the encryption options at both ends of the connection and see what happens.
Android dosen't support MSCHAP on PPTP, said in a different way, dosen't support encryption. Also it's a very recent issue, it's been there only since 1.6
Get encryption disabled on the server and everything will be alright. Lol.
(sarcasm: VPN support has been added in 1.6)
Sent from my GT-P1000 using Tapatalk
i already tried disabling encryption...didn't work. How do I get the log? Sorry if I sound novice.
golam1 said:
i already tried disabling encryption...didn't work. How do I get the log? Sorry if I sound novice.
Click to expand...
Click to collapse
Disabled on Android or on the server? On Android only it's pointless
Sent from my GT-P1000 using Tapatalk
I use VPN L2PT every day @ starbucks
No Issues
Sent from my Transformer TF101 using xda premium
I use pptp vpn for iphone connectivity it is good and fast
"server hungup" means you have a bad username/password combo
is there a way to clear just the network settings like iphone in Honeycomb without loosing the data?
The VPNC Widget in use by several here requires the use of advanced routing to maintain the VPN connection, otherwise it randomly will drop.
Question 1 - Are there any kernels currently available with advanced routing enabled? I have not been able to find any.
Question 2 - Are there advanced routing modules that can be loaded ad hoc?
Thanks in advance for the guidance.
When I was using Prime 2.1.1 on my TF101, I had no problems. Except the thing would regularly FC even if vpnc was still running, and it would disconnect after like X minutes of inactivity.
Sent from my Transformer Prime TF201 using Tapatalk
Spidey01 said:
...it would disconnect after like X minutes of inactivity.
Click to expand...
Click to collapse
The random disconnect issue is a result of not having advanced routing in the kernel, hence my request. Otherwise, VPNC Widget works perfectly for me.
I have not seen a ROM with advanced routing but it is not going to be an issue anymore. ICS has (among other things) a built-in support for old-style Cisco VPNs (XAuth) and the long-awaited update is being rolled out by Asus (currently in Asia only) => VPNC Widget won't be needed.
jpkx1984 said:
I have not seen a ROM with advanced routing but it is not going to be an issue anymore. ICS has (among other things) a built-in support for old-style Cisco VPNs (XAuth) and the long-awaited update is being rolled out by Asus (currently in Asia only) => VPNC Widget won't be needed.
Click to expand...
Click to collapse
I have tried accessing our corporate VPN on a Prime running ICS, it won't handle the group ID and password necessary, so VPNC will still be required for that.
dm36415 said:
I have tried accessing our corporate VPN on a Prime running ICS, it won't handle the group ID and password necessary, so VPNC will still be required for that.
Click to expand...
Click to collapse
My network uses group password as well and it works fine with ICS on my Galaxy Nexus. The VPN type has to be set to "IPSec Xauth PSK", "IPSec identifier" is actually a group name. You are asked for final user login/password during connection attempt.
jpkx1984 said:
My network uses group password as well and it works fine with ICS on my Galaxy Nexus. The VPN type has to be set to "IPSec Xauth PSK", "IPSec identifier" is actually a group name. You are asked for final user login/password during connection attempt.
Click to expand...
Click to collapse
Thanks for the tip, I'll check it out.
Hello
I'm having some problems with Connecting to my works VPN with my TF101 which just got the ICS update this morning.
I set it all up just like I used to with my Xoom (running ICS) and just how I do with my Galaxy Nexus, those all work fine, but with my Transformer when I click on the VPN thing to connect, it connects, however when I look at it's info, I can see that nothing is being sent or received.
When I try to remote into my comptuers I can't, when I try to access the intraweb I can't.
So I really don't know if this is something I'm doing wrong (although I'm doing exactly what I have done before on other devices) or if it's something wrong with the TF101.
I'm not rooted currently and I got the update over the air.
Thanks, and I'm sorry if I am posting this in the wrong place.
dm36415 said:
Thanks for the tip, I'll check it out.
Click to expand...
Click to collapse
I upgraded to ICS this morning and tried it, unfortunately it again just timed out.