[Q] Froyo and pptp VPN over 3G - Droid Incredible Q&A, Help & Troubleshooting

Has anyone been able to reliably use PPTP VPN with Froyo? I cannot make a connection over 3G, but have no problem with WiFi.
Also, using the Incredible as a Hot Spot, a laptop also cannot connect to a PPTP VPN. However, USB tethered, the same laptop can use the Incredible as a wireless modem, and connect to the same VPN, with no trouble.
This makes me think the problem is in the Froyo linux TCP stack somewhere. Are there other VPN solutions that can connect from the Incredible with Froyo? I am rooted, and moderately Linux literate.
Thanks,
Jim

Related

Does anyone have VPN Connection running on 2.2

Title says it all.
All of the 2.2 roms and kernels I have tried will connect to the VPN but must screw up the routes as they shut off my data.
Does anyone have this running?
the only issue i have with "VPN Connections" is that is doesn't pass DNS traffic correctly. hence, i must connect via IP Addy not DNS name. other than that it works fine for me. i'm able to establish a vpn connection then use the WYSE rdc/vnc app to connect to my windows or linux servers ... connnectbot for shell access.
I've also been unable to connect to either a PPTP or IPSec VPN over my 3G connection since upgrading to the official release of 2.2 on my EVO 4G. The connection appears to be established just fine, and the VPN server shows that my VPN client is connected, but I cannot ping to or from the device, nor access any internal resources from it. This is a serious bummer considering that things worked fine under 2.1. Will test over WiFi when I get home. Can't test it at work since we're behind a proxy (which is another gripe I have with Android right now... seriously Google, no proxy configuration options?).
i feel i should clarify the name the application i'm using to establish a vpn tunnel is not the stock android vpn application.
it is called "VPN Connection" http://www.appbrain.com/app/org.codeandroid.vpnc_frontend
amw2320 said:
Title says it all.
All of the 2.2 roms and kernels I have tried will connect to the VPN but must screw up the routes as they shut off my data.
Does anyone have this running?
Click to expand...
Click to collapse
I have some interesting info regarding VPN behavior. With 2.1, of course, it did not work. Here's what I experienced: I rooted my 2.1 with Unrevoked (not a full root) and then I installed OMJ's (8/6?) Froyo and lo and behold, my encrypted PPTP VPN to a MS 2003 server was working perfectly. I assumed that 2.2 resolved the vpn issues. Since I thought 2.2 was a fix, I didn't hesitate to install another ROM. This time, though, I also did a NAND root and installed another 2.2 rom; whose, I don't remember. My VPN was gone. What I discovered was that I COULD connect to an unencrypted MS PPTP server, but still not my encrypted VPN server at work. So, here we are today. I'm running Vael-Pak non-sense rom and after I loaded it I had no vpn, but here's the thing...a couple of days ago I was poking around inside some of the Evo's networking files, I didn't change anything, I just opened them and looked at them with Text Editor, and since then my encrypted PPTP VPN has been working great. I'm very hesitant to reboot my phone because I fear that it won't work anymore. Right now I'm happy.
I'm trying in vain to get VPN connections working too. The only ROM that I had it working with no problems was Cyanogenmod's. All the others don't seem to have it supported in the kernel. Now I'm running a ROM based on the stock 2.2 but haven't found a fix yet.
I'm in the same boat - my pptp vpn worked fine in stock 2.1, but not in stock 2.2...
Sent from my PC36100 using Tapatalk
I can't get a pptp (haven't tried l2tp) to connect from my unrooted 2.2 evo with encryption enabled. I'm trying to connect to my server at home running winxp pro with the default winxp vpn server setup.
Works fine if you disable encryption. But what's the point if it's not encrypted, right? It works fine with encryption using a laptop or my old iphone3G. Seems to be a bug with android.
I'd like to know if someone finds a workaround.
This worked in 2.1 - froyo broke it
liamaa said:
I can't get a pptp (haven't tried l2tp) to connect from my unrooted 2.2 evo with encryption enabled. I'm trying to connect to my server at home running winxp pro with the default winxp vpn server setup.
Works fine if you disable encryption. But what's the point if it's not encrypted, right? It works fine with encryption using a laptop or my old iphone3G. Seems to be a bug with android.
I'd like to know if someone finds a workaround.
Click to expand...
Click to collapse
-mark
I am in the same boat. On CM6 VPN works flawlessly, but it is missing a lot, and kept crashing on me.
On every other ROM and kernel with tun.ko, it says it is connected but no connectivity.
AVA V6 is fast, good battery life, everything works (including hulu, and blockbuster) and very stable, but the only single thing I can't get working is Cisco VPN!!
-David
I am curious, does anyone have VPN working on any Froyo ROM besides Cyanogen?
If so what Rom/kernel are you using?
Interesting observation last night - 4g was temporarily working in sf, and my pptp vpn worked over it. I turned off 4g and retested, pptp vpn didn't work over 3g...
-mark

[Q] VPN

I have a PPTP VPN into my home network but have had trouble connecting with my Epic. Does the epic currently support encrypted pptp vpns? If not, is that something that can be added to the EB13 kernel easily or would it be a complex addition?
gdbassett said:
I have a PPTP VPN into my home network but have had trouble connecting with my Epic. Does the epic currently support encrypted pptp vpns? If not, is that something that can be added to the EB13 kernel easily or would it be a complex addition?
Click to expand...
Click to collapse
I have EB13 with Froyo 2.2.1 and I AM able to connect a phone based PPTP VPN to our Watchguard Firewall at work, however I am unable to use PPTP passthrough with Wifi Tether 3.0 and have been unable to get my laptop to create a bluetooth modem that works properly so I'm unable to actually use the Epic as desired at this point. I hope they allow PPTP passthrough through wireless tether in the future.

[Q] Has anyone tunneled PPTP VPN connections over a SSH connection?

I'm using CM9 on my galaxy nexus.
I can connect to my PPTP VPN server (my router running tomato) fine without tunneling, both inside my lan, and outside it.
I can connect to my SSH server (again my router), both inside my lan and outside it. And have successfuly forwarded ports before w/ connect bot and remote desktop apps.
But everything I try results in my VPN connection timing out when I try to do it over the SSH tunnel. I have it connecting to localhost on the VPN settings side. And on the connect bot side i am forwarding port 1723 to 192.168.1.1:1723 (which is my routers lan IP).... but it still times out.
Does anyone have any ideas? is this even possible?
bump - so no one has tried to do this?
edit: nevermind, not possible with PPTP http://www.webhostingtalk.com/showthread.php?t=666728
PPTP requires the GRE protocol, which you can't tunnel over SSH. I've googled this extensively and have tried it repeatedly without any success. You could do PPP over SSH, but it's not very easy to set up, and depending on what OSes you're running, it might be out of your reach.
Check out OpenVPN; it runs on both Windows and Linux, uses a single configurable port for communications, and does everything over that port; as long as you can find an unblocked port on your network to use it on, you should be fine.
Click to expand...
Click to collapse

[Q] Wifi Ad Hoc connection problem

I have been trying to connect my epic 4G to my laptop through ad hoc connection. I am on CM9 Beta3 and Windows 7 Ultimate. My Epic can detect the ad hoc connection created, but the connection only last for less than 1 second, then stuck in "obtaining IP Address..." while the laptop fails to gain network access (although already "connected").
Tried the WPA2 and WEP but fails.
Does anyone solved this issue?
I would like to use Splashtop using the ad hoc as the local network...
Nevermind...
I use COnnectify instead. Now I can operate my laptop from my Epic...
rozar99 said:
Nevermind...
I use COnnectify instead. Now I can operate my laptop from my Epic...
Click to expand...
Click to collapse
make sure you have encryption enabled in your settings. otherwise, someone will piggyback off of your connection.

Android tethering problems

Has anyone sucesfully managed to tether their 4G gemini to a laptop, to share mobile data?
I've tried WiFi hotspot and USB tethering and I'm having no luck. The laptop gets an IP and gateway address from the Gemini but still can't connect to the internet.
I have no problems when I tether using a different phone.
If someone with a 4G gemini and a laptop could give it a go and let me know if it works for them, it would be really helpful.
Thanks!
Tom
Wi-Fi and Bluetooth tethering works fine for me.
Maybe tethering is blocked by your carrier.
FIle transfers do not work either
teb22 said:
Has anyone sucesfully managed to tether their 4G gemini to a laptop, to share mobile data?
I've tried WiFi hotspot and USB tethering and I'm having no luck. The laptop gets an IP and gateway address from the Gemini but still can't connect to the internet.
I have no problems when I tether using a different phone.
If someone with a 4G gemini and a laptop could give it a go and let me know if it works for them, it would be really
helpful.
QUOTE]
When connecting USB to usbC , the Win laptop claims connection exists, but permission to connect is missing. Hence it would seem that Gemini or Android is incapable of registering a physical connection (even if it reports slow charging" when at an USB2 port as opposed to USB3.)
p.
Click to expand...
Click to collapse
I would really prefer a cabled connection to hack exposed and battery-eating wireless methods, so any advice is welcome. I tried to hook up and mount the Gemini so as to use the versatile file handler MC on it at my lange stationary Linux machine, but it seemed to be "invisible". (My Gemini is the pure android latest available version, not rooted.)
p.

Categories

Resources