[Q] Why does the VPN suck in Android? - EVO 4G Q&A, Help & Troubleshooting

Does anyone know of a ROM in which the PPTP VPN actually works? I've tried 6 or 7 different roms today and have yet to find one that works. Is this a Google issue, or something else? Surely some developer must have tested this function and can speak to whether or not the VPN works. I recall that in WINMO only a few roms had reliable VPN functionally, Mighty Mike and Silence come to mind. Just to be clear...here is what is generally happening; the VPN connects without a problem. The RAS server displays the connection and shows packets in and out. Some roms will not route one packet properly to the device. Others will appear to work great, pinging remote resources, but as soon as you try to do anything else, i.e. RDP, the connection crashes.
Thanks

Related

VPN Log In Problem with WM6 Black Edition

Not sure does anyone else have the same problem, I can't seem to log in VPN network through wifi in my school.
Tried bother Black Edn. v1.1 and v1.2, neither one can go through.
Anyone who succeed care to share the settings? I was told my log in ID or Password is wrong.
Or maybe it's the network which doesn't support WM6 yet?
Nobody uses VPN here?
I have the same issue, done a search and it appears that the TCP/IP stack is not binding with the VPN client software. This appears to be a general issue, I use the Checkpoint secure remote client but it also does not work with Cisco, maybe others. Unfortunately I do not know of a work round.
Malcolm
I have exactly the same issue with my WM6. I use the AT&T dialer on my laptop and try to connect over the umts connection created between my HTC Universal WM6 via usb connected to my laptop.
If you have any updates on this I would be grateful.

Use Hermes as WiFi Hotspot

Hey everyone. I'm looking for a way to turn my Hermes into a mobile hotspot. Be rather handy to make my PSP playable online wherever I happen to be sitting, like work for example....
Does anyone know of a way to do this? Internet connect allows me to connect via USB or Bluetooth, but not WiFi, so if there's a workaround or a magical piece of software that will allow this to happen, I'd love to hear about it.
Cheers team
This would be cool.. will also look now for something like this..
from my looking into the same idea it can't be done under windows mobile due to the MS TCP/IP stack.
maybe if linux for the Hermes gets serious then it will work but probably only multi client peer to peer mode rather than ap mode.
please pove me wrong as I think it is a killer app idea for 3G devices like the hermes.
Damn. How does the MS TCP/IP stack prevent it from doing that? I'm not questioning what you say, just wondering what the mechanics are that stop it? I'm realistic about what it could do, in that I'd only be able to connect one device at a time as opposed to it operating as a fully fledged router. I'm surprised this kind of functionality has been overlooked by Microsoft, as I'm sure other people who use WM devices would look for this kind of functionality also, not just people slacking off at work with a PSP or DS
The XDA gurus who figured out the VoIP over 3G or WiFi may have a deeper insight to this.
it is possible to use hermes as a router over bluetooth
kivimart said:
it is possible to use hermes as a router over bluetooth
Click to expand...
Click to collapse
Yes. It's possible to do this:
Internet<->RAN(3G)<->Bluetooth<->Laptop,etc
But I think the original poster is asking whether this is possible:
Internet<->RAN(3G)<->Wi-Fi<->Laptop, etc
..or at least that's what I would like to be able to do...
Of course
It's possible. So think about an ad-hoc network. PC-PC and internet sharing gets you out to the web.
Same kind of scenario could apply, but the device doesn't necessarily need to be able to complete the routes. The bluetooth PAN network already does this, and if you have 3G, WiFi isn't usually going to be connected to a network that's much faster.
Only problem the family will be upset when you leave the house, if that's a factor for your setup.
The Internet Sharing feature could be leveraged to provide this functionality, but USB and BT are the only ways to connect with the stock application. That would be an excellent basis for this new application, though.
silverfox0214 said:
The Internet Sharing feature could be leveraged to provide this functionality, but USB and BT are the only ways to connect with the stock application. That would be an excellent basis for this new application, though.
Click to expand...
Click to collapse
this has been poss for a long time by using a PC to do the DHCP and roting to share a WAN connection from the phone. The question (at least how I read it) is asking about the phone routing and sharing its WAN connection over wifi to one or more clients that may not even be PCs (game devices etc)
can't be done IMHO

[Q] VPN on Rhod 100 TP2

I have the latest Froyo6 build on my Froyo TP2 Rhod_100 UK
I have been trying to set up the VPN, but I can not get it working. Does anyone know why and how I can sort this out please?
PS. I also tried to run a VoIP (SIP) client (3CX) on the machine, but that too does not work.
My airtime provider is Vodafone UK and they have assured me that both are enabled on my account at a princely sum of £15 per month! Needless to say at that cost I am dead keen to make this work.
jonners59 said:
I have the latest Froyo6 build on my Froyo TP2 Rhod_100 UK
I have been trying to set up the VPN, but I can not get it working. Does anyone know why and how I can sort this out please?
PS. I also tried to run a VoIP (SIP) client (3CX) on the machine, but that too does not work.
My airtime provider is Vodafone UK and they have assured me that both are enabled on my account at a princely sum of £15 per month! Needless to say at that cost I am dead keen to make this work.
Click to expand...
Click to collapse
Can you get either to work on wifi?
I know there were some Chinese users trying to get the VPN to work, and couldn't.
I haven't tried, as I have no use for a VPN on my phone lol.
Also, I have known people to get SIP working, but it wasn't so great from what I heard...
Sorry I was not getting alerts and the thread was not showing up in my subs....
If I use WiFi then I am at home and do not need the VPN, but the SIP Phone DOES work and very well.
If I use the WM as a gateway for my laptop, then the laptop can run a VPN and SIP Phone via the phone. If that makes sense to you. Thus the Router running the VPN is working and the config works, and the mobile operator has set up the service. So this is just the phone settings - I believe.
jonners59 said:
Sorry I was not getting alerts and the thread was not showing up in my subs....
If I use WiFi then I am at home and do not need the VPN, but the SIP Phone DOES work and very well.
If I use the WM as a gateway for my laptop, then the laptop can run a VPN and SIP Phone via the phone. If that makes sense to you. Thus the Router running the VPN is working and the config works, and the mobile operator has set up the service. So this is just the phone settings - I believe.
Click to expand...
Click to collapse
If I had a VPN I could connect to I would test it out...
Maybe its a misconfiguration in Android? broken driver or config?
I do not know. It tells me nothing. The settings are as per the router config. How do I find out what is incorrect/broken etc...?
Can you give as many details as possible on the type of VPN I'm trying to connect to?
It's probably not working because none of the devs use that function - and can't debug it without trying to reproduce your setup.
I might play with it a little as it would potentially let me remotely schedule MythTV recordings safely, but it would be pretty low-pri for me.
I am using at this stage a simple PPTP setup for now. The Android settings are minimal - username and PW, and that is it.
But my laptop, which works has more settings o configure. I.e. MSCHAP and MSCHAPv2
Point to point MPPE
Security 128b and/or 40b
Allow BSD
Allow Deflate data comp
Allow TCP header comp
Does this help
OK, sometime in the next week or two I'll try to get PPTP up and running using similar parameters. I've been meaning to do it in general (not phone-related) for other reasons anyway - but it's been a low priority for a long time.
Entropy512 said:
OK, sometime in the next week or two I'll try to get PPTP up and running using similar parameters. I've been meaning to do it in general (not phone-related) for other reasons anyway - but it's been a low priority for a long time.
Click to expand...
Click to collapse
Why not OpenVPN? Seems like it would be easier/more standards-compliant that a craptacular PPTP VPN .
arrrghhh said:
Why not OpenVPN? Seems like it would be easier/more standards-compliant that a craptacular PPTP VPN .
Click to expand...
Click to collapse
I'll look into what VPN options Android supports - although for the OP, he may have specific reasons forcing PPTP.
arrrghhh said:
Why not OpenVPN? Seems like it would be easier/more standards-compliant that a craptacular PPTP VPN .
Click to expand...
Click to collapse
Because I am working with Draytek, my router. Vendor to set up the VPN and this was the. First config as it was the simplest. Seems everything else works, just. Not the. Phone. The phone too has PPTP as a standard setting.
Eh, I prefer to avoid PPTP like the plague if I have any choice. Most companies don't provide a choice, so I figured that's why you were locked in.
If you do have a choice, I would try something different. That's just me tho, I'd prefer open to closed any day if I had the choice .
Just a side note - the built-in Android VPN support uses pppd. The ril currently uses "killall pppd" to disable mobile data. If you're using both at once, then this will kill the VPN too. This is a stupid flaw in the current ril code, which is fixed in the "initpppd" branch of my ril repo. (But the initpppd branch depends on a number of rootfs fixes before it is usable, and stinebd has not merged any of it yet.)
highlandsun said:
Just a side note - the built-in Android VPN support uses pppd. The ril currently uses "killall pppd" to disable mobile data. If you're using both at once, then this will kill the VPN too. This is a stupid flaw in the current ril code, which is fixed in the "initpppd" branch of my ril repo. (But the initpppd branch depends on a number of rootfs fixes before it is usable, and stinebd has not merged any of it yet.)
Click to expand...
Click to collapse
Thanks for the reminder of that, I remember the discussions on the dev list.
I'm going to shelve poking at the VPN stuff until the RIL overhaul stabilizes and gets mainlined in this case.
Entropy512 said:
I'll look into what VPN options Android supports - although for the OP, he may have specific reasons forcing PPTP.
Click to expand...
Click to collapse
OK, please excuse slowness of response. As arrghh knows from another thread I am in transit across Europe. I reached my destination, Italy and have spent the past few days getting internet access *broadband virtually does not exist here unless you are in a City, so I have to use a very slow mobile broadband).
I am not a techie, but I am a willing player with some knowledge - dangerous, I know. I have been assisted by the manufacturer of my Router, a Draytek 2820 to set up a VPN. We may make it a more sophisticated VPN later, but pptp is the easiest. I have it working on all laptops and PCs, including this old banger here in Italy. What I can NOT do, is get it working on the phone. I think it is communicating with the router, but it is not getting through.
PS the PCs and Laptops are all Linux - Ubuntu 10.10
Hope this helps
I'm one of those Chinese who tried using VPNs on my Raphael, but failed of course. Actually, neither on WM, nor on Android, neither via pptp, nor via l2tp over ipsec. What I wanna remind is VPN on most Android roms on hd2 works fine, but some roms also cannot support vpn.
If you have enough time, I don't know how to pray for, would you please explore l2tp over ipsec? Because in many cities in China, pptp is also blocked by ISP. And I can provide a test account if anyone needs it.
Btw, I believe vpn is necessary when connecting a public wifi
Sent from my MSM using XDA Premium App
One more report, vpn in pptp could not work..
At this point - I'm going to hold off on poking at this until highlandsun's new RIL settles out and is officially committed. Some of the dev traffic correspondence indicates that the way we currently handle PPP is incompatible with VPNs. His new ril + rootfs combo that changes the pppd control architecture MIGHT solve some of the PPTP issues, I haven't tried them yet.
See it.
May your works come out soon~

[Q] Android VPN

First of all, I would like to thank all the developers on the site for some outstanding work. I have been trying out some of the great ROM's found here and I would just like to thank all you guys for all the hard work put into your Rom's. I am really appreciative of all the great information found here.
I have an issue I have been working on for a bit, and I was wondering if I can get some of you to comment or try to figure this one out.
At my office, we have a RV-120w Cisco firewall/router. We have a small office, and this unit has worked great in securing my server, but allowing some of my Project Manager's to remote in via IPsec. The remote VPN works great from desktop to router. We connect to the router, and then RD to the workstation.
The issue I have, is I cannot get an Android device to connect via IPsec. I can see the unit talking to the router (from the log), but the connection times out stating "Could not find a configuration".
I have tried the Cisco boards and have gotten no where. If any of you have an idea I could try, I would greatly appreacite it.
Hey,
are you making sure everything is registered right on both sides? & it might be a rom glitch to. Try flashing a differnt rom making sure you have all the right info and try again. and If that doesnt do it Idk man Im sorry :/
Stevo
L2PT only with IPsec is supported.
So you should be running IPsec and L2PT with the VPN. Probably should look into the OpenVPN installers for the android phones (i can help with that).
But my experience is that our android phones are finicky with the protocols you use.
Cisco again........
I regualrly visit forums and blogs for some VPN news, what i see the most are people having issues with vpn settings in general and specially cisco, cisco vpn routers have been rocket science to learn and use efficiently,

L2TP VPN Doesn't work on native MIUI 11.0.3

Hello everyone,
as noted in the title of this thread, I cannot connect to L2TP/IPSec VPN Server from my phone (Redmi Note 8 Pro, running MIUI 11.0.3 stock).
I've done extensive troubleshooting and appears that phone never even contacts the server. When i configure everything and toggle the VPN, it will try to connect but never does, and then times out.
I'm watching the logs on the server, nothing appears.
I'm watching tcpdump on the server, no packet is even received from phone.
I've connected to WiFi network from i which i know i can connect to VPN (for example from PC or my MikroTik router) and it cannot even connect from that network.
I've enabled packet sniffer on root MikroTik router to sniff the packets, filtering MAC address of my phone, and guess what... When i click on VPN, it doesn't even try to connect to VPN serever. VPN server IP address doesn't even appear on sniff.
I'm wondering why is this happening, is anyone else having issues with L2TP/IPSec VPN? How do i inform Xiaomi of this issue since I've placed couple of feedbacks back in the day, never received an answer and those issues still persists so i don't even thing they are reading the feedback that is sent to them from phone app.
Hoping to get to the bottom of this!
Any help would be greatly appreciated !
Any chance you can try the OpenVPN app? I used to have an issue with my old phone where sometimes it would say connected but it wouldn't be. With the rn8pro, OpenVPN works every time.
Edit: try posting on the Mi forums for a better chance of a response from someone at Xiaomi
https://c.mi.com/global/forum-2234-1.html
Might not just be Xiaomi....https://github.com/SoftEtherVPN/SoftEtherVPN/issues/571
I would hate having two VPN servers installed at the same time. There are times when i want to connect my root mikrotik router to VPN server i question to forward all web traffic via VPN, unfortunately, OpenVPN support is very limited on MikroTik , there are new cipher suites missing and with new OpenVPN servers in place it's impossible to connect tik to OpenVPN.
I know however that OpenVPN app works great with android, but it's weird that native L2TP doesn't seem to be working at all.
I could fall back to PPTP maybe. Both Android and MikroTik works flawlessly with PPTP. But... It's PPTP..
Thanks, i will try posting to Xiaomi forums as well.

Categories

Resources