VPN over WiFi connection - Networking

Hi
I searched the forums for info, seems that others have had issues trying to connect a VPN session over WiFi. Basically, my wifi (internet) is connected, the 'Connect VPN' option appears in the 'Connectivity' bubble, but tapping 'connect vpn results in the unit trying for a while to connect and then giving up with no error.
Probably yet another XDA bug. My device is the XDA IIs (Blue Angel).
Anyone got a VPN going over wifi?
For the record, it (VPN) works fine over GPRS, although the implementation is shockingly bad. You cant hit boxes on yr lan via IP, it drops the VPN the moment you try. I guess i'll have to set up some hosts file to fool the sack of crap into realising that it needs to head down the VPN to get to said ip.
Nigel
Nigel

Check your ip's, they must be in different subnets at each end of the vpn eg (192.168.1.--- >>>><<<<192.168.0.---). If they are both in the the same range then packets won't be routed correctly.
I use vpn over a wifi lan every day, and it works like a dream (on an xda2 with soket wifi card).

Hi
Yeah, they are in different subnets, still refuses to connect. God knows. The wifi implementation on the Blue Angel is bugged to hell so I suspect this is just another bug.
Nigel

I can get my VPN to connect.
My M2000 is connected to my local lan via wifi (192.168.0.0) and I have set up a VPN to my work lan (172.16.0.0).
The vpn connects and shows as connected in the connection dialog bubble.
However, I can't see/ping anything on my work network.
The PPTP NDISWAN Miniport adapter shows as not connected.
Using xvIpconfig i can see that there are two active adapters.
One is my wifi card...all ok there.
The other is called RAS VPN Line 0.
It seems to have a correct IP address, subnet mask and default gateway for my work network but it says that DHCP is disabled.
Also the adapter address is 00-00-00-00-00-00...that can't be right can it ?

VPN
hi guys, have you made any progress with the vpn and the blue angel. I am having the same problem - VPN appears to connect fine and then drops without any errors etc. to make matters worse i deleted all 02 connections so now i can't even see the vpn connection. Help!!!
yanni

Related

Wireless Problem

Done a search on various site but still no joy.
Just got a o2 XDA Mini S yesterday.But I cannot get it to connect to my wireless network at home.Its an open network, with a laptop,3 PC's,2 xbox's accessing it various times of day.All connect no problem.
My xda says my network is available,but cannot connect to it. Do I need to put in IP addresses in manually ? On the network cards section, it the SDIO WLAN wireless adapter that is used ?
Have tried allsorts,
First Question,
Is your WiFi router set to DHCP mode. If so then check that your device is also set to DHCP mode. If not change router to DHCP check that all your other devices are set to DHCP then you should automatically be allocated an IP address. A useful utility is WiFi Companion.
This scans for available networks and allows you to connect. it will also show you the IP address you have been assigned.
You could assign an IP address manually but this will have to be changed every time you walk on to another network. DHCP is better.
Regrads
Thanks for the info DW, it is my router,popped round a mates last night and it connected to his network ok.
Will check what you said and the firewall
not sure by what you mean exactly by open network.
but are you using MAC address filtering?
when I got the Sony Laptop, I was so eager to get it all setup etc, that I forgot bout the filtering, it would see the network, but refused to connect.
I'm having the same problem. My Exec can see the network but not connect. I investigated it a bit more and for some reason it keeps trying to use the same IP address as my laptop. It also cannot connect to the net to update Avant Go when it's syncing (via my laptop).
I've tried connecting with all other devices switched off, to avoid the IP address conflict, but still cannot connect to the internet.
I'm pretty much stumped.
Setting the Wireless power setting for best performance was the trump for me.
On my Vario - Settings - Connections - Wireless LAN - Power Mode
Thanks for the suggestion. I gave it a try but unfortunately it didn't help.
If my laptop is switched off my Exec can connect to my D-Link router, but I cannot access any internet resources. I presume that somewhere in the settings is the solution but I can't find it.
EXCELLENT db44!!!
For some reasons setting wireless "best performance" wortked for me too. Wizard (QTEK 9100 - gray market I guess as QTEK did not register on their site for me). I will still try Opera too.
Kind regards,
Oleg.
www.nano-science.com
same thing happened to my qtek. it detected the network but could not connect and sometimes when it got connected, i still couldn't surf the net. is there anything in the settings that i'm missing? i also tried to enter the IP address manually but no luck either.
My O2 XDA Mini arrived yesterday. It sees my wireless network (as well as two others in my neighborhood) but cannot/will not connect. I've tried everything I've read above - which confirms I'm on the right trail, but...
The D-Link DI-624 wireless router is in DCHP mode. I've dropped all security for connection trials. I've put the MAC address of the XDA in the router, just in case. I cannot find the IP address of the Mini (how do you do that?), but have tried with and without allowing the router to assign it a random and an assigned IP address. My router does NOT have the default (198.162, etc, etc IP address.) so I've been careful not to blindly follow standard instructions. Of course, I have tried with specific IP addresses, default gateway (router), etc, etc.
One clue is that after trying for a long time to connect to the networks it finds, I got one error message from the XDA saying it could not be assigned an IP address from the network(s). Good clue - wish I know what it means.
There are only limited settings to check on the XDA, so I'm wondering if I'm missing something on the router. Any ideas? Many thanks.

Has anyone got a VPN connection to work with a T Mobile MDA?

I am trying to establish a VPN connection but cannot get the connection to work.
I am using the built in MS VPN client of Win Mobile v5.0 (5.1.1700 build 14352.0.1.0)
I am having real problems getting a VPN connection set up with our network.
I have tried both PPTP and L2PT
When L2TP, I was authenticating with a preshared key
Firewall logs show PPTP negotiation successful, and issues a VPN IP address to the device
It can ping the firewall external interface, but times-out trying to reach an internal address
The VPN session is established, but the firewall logs don't register either deny or allow traffic for each internal ping request, rather the firewall packet error count increments for each failed attempt.
Any help is greatly appreciated.
I had problems with PPTP - gave up
I hate the way Windows mobile labels connections.
I connect to many customers with PC Anywhere, VNC, SSH etc and I have access via serveral different windows PPTP VPN.
Like you I setup the details in connections and try to dial.
Nothing seems to happen. The connect option does not change to disconnect. So I assume it is not connected.
I have a feeling these connection do not work over WIFI. and perhaps work over T-mobile 3g only, to maximise data revenues.
Seems very buggy to me. I would really like someone to post a working example/Instructions. Can I get a refund on my MDA PRo?
MS please note it is not a connection to my work or an internet connection it is to a customer for remote support, likewise I often connect remotely to my home via PPTP from my office.
confirmed VPN works over t-mobile 3g not Wifi
SEems the VPN links only work over 3g not Wi FI.
I'm using a PPTP connection over either 3G of WIFI depending on te active connection.
- When WIFI is active the PPTP connection connects using WIFI (I can switch off the phone, so it must be using that one)
- When no WIFI connection is active it automatically connects to 3G first, and than starts the PPTP session
In network management I'v set:
Internet:
Internet (the one containing the 3G connection)
select 'this network connects to the Internet' on the proxy tab.
private network:
My Work (the one that contains the vpn connection)
do NOT select 'this network connects to the Internet' on the proxy tab.
So as you can see, nothing special (I'm using a Qtek 9000 with standard Wm5 ROM)

VPN through 3G problem

I have problem with VPN connection to my privat network.
VPN connection works if I am on cable, wifi, but whan I am connected over 3G, HSDPA, than my connection works for about 5 seconds and than I hear sound from WM6 side that my 3G connection was broaken.
I can go to WM side and try with VPN connection there and it wont connect. But strange thing is, that if my VISTA is shutdown than I CAN connect with WM6 to my VPN server.
Please help if sombody had the same problem...
bye
Matkosan
I setup Hamachi yesterday on my Shift, on both the WM and Vista sides of the device and it worked perfectly. Of course, each "side" looks like a completely different node on the network, but it was really cool to remote desktop into my home and office machines from VM.
Regards,
Dave
Which VPN client software and version are you using? Or is this window PPTP vpn?
I had some problems with Cisco VPN Dialer client and the pasword manager function of the finger print reading software. Once I turned off the password manger function both the VPN dialer and finger print reader are happy to coexist. ( issue might not be problem if you are not using a RSA fob like I have to)
I am using both on my shift Cisco VPN for work and the Windows PPTP connection to reach my home network. So I can confirm that they both work from Vista and that windows PPTP works from WM6.
Nothing special, just window PPTP vpn client. My internet connection works perpectly, but when I make a VPN connection, 3G just drops the line and than reconects when I disconnect VPN connection... But VPN is allways working for about 5 seconds, a few successful pings...
I just used the magic button FN+F3 and whn vista come up i have the same problem. That means that tre problem resides somewhere in WM part. I am still looking... The problem could be that my service provider and my contry are not on the shifts list, so there could be some connecion settings problems... On my other sony vaio the same data card and HSDPA connection and VPN works OK.
Now I am playing with WM side. I can establish VPN connection to my server, bat as soon as I try to send over some data it simply diskonects 3G connection and that establish it again, without VPN connection afcourse.
So my connection to VPN is working, but when I start internet explread try to conect to any web site, 3G connection restarts.
Any suggestions or somthing....
Matejs said:
Nothing special, just window PPTP vpn client. My internet connection works perpectly, but when I make a VPN connection, 3G just drops the line and than reconects when I disconnect VPN connection... But VPN is allways working for about 5 seconds, a few successful pings...
Click to expand...
Click to collapse
Hi.
Is there a fix to this? I am getting exactly the same problem. 3G works for surfing on vista and exchange push/browsing on WM side - As soon as I put a pptp VPN across to the work network, the 3G on the WM side drops, and if I am looking at m network connections in Vista, the "LOCAL AREA CONNECTION 2" network "card" disappears from network settings and the VPN stops.
If I disconnect the VPN, the 3G connection restores itself and I can browse again.
any help appreciated as I need pptp to work so I can ditch my laptop!
PDAMerlin
Have you tried going into the TCP/IP properties of the VPN connection, then 'Advanced' and removed the tick from 'use default gateway on remote network'. That fix the problem for me.
Aardvark1978 said:
Have you tried going into the TCP/IP properties of the VPN connection, then 'Advanced' and removed the tick from 'use default gateway on remote network'. That fix the problem for me.
Click to expand...
Click to collapse
Yes, I did that, but then the internet works fine and the VPN and the 3G stay up okay, but everything seems to go to the local internet and nothing goes via the VPN tunnel.
PDAMelrin
Hi,
Probably you have to change the MTU settings in the Local Area Connection, here's the command:
netsh interface ipv4 set subinterface "Local Area Connection" mtu=1440 store=persistent
1440 is only a suggestion. If you low more the MTU you will notice a decrease in speed/bandwith but 1440 will be unnoticeable and will let VPN connections work.
Mobiplayer said:
Hi,
Probably you have to change the MTU settings in the Local Area Connection, here's the command:
netsh interface ipv4 set subinterface "Local Area Connection" mtu=1440 store=persistent
1440 is only a suggestion. If you low more the MTU you will notice a decrease in speed/bandwith but 1440 will be unnoticeable and will let VPN connections work.
Click to expand...
Click to collapse
Have you actually got a VPN session working? From what I can see, the problem is the way that the Vista side uses the modem.
If I do a route print from Vista with the VPN up, it doesn't add any routes, so sends all traffic to 192.168.160.1, which appears to be the IP of the modem/WM side of the device.
If I manually put in
ROUTE ADD 0.0.0.0 MASK 0.0.0.0 192.168.99.1
Which is the IP of the VPN router, all traffic gets routed out down the VPN and it works for about 5 minutes, then the "Local Area Connection" network card in Manage Networks, disappears. If I then drop the VPN (because strangely it stays up) the LAC card comes back...
PDAMerlin
PDAMerlin said:
Have you actually got a VPN session working? From what I can see, the problem is the way that the Vista side uses the modem.
If I do a route print from Vista with the VPN up, it doesn't add any routes, so sends all traffic to 192.168.160.1, which appears to be the IP of the modem/WM side of the device.
If I manually put in
ROUTE ADD 0.0.0.0 MASK 0.0.0.0 192.168.99.1
Which is the IP of the VPN router, all traffic gets routed out down the VPN and it works for about 5 minutes, then the "Local Area Connection" network card in Manage Networks, disappears. If I then drop the VPN (because strangely it stays up) the LAC card comes back...
PDAMerlin
Click to expand...
Click to collapse
I didn't tried to establish a VPN with my Shift, but I found this MTU problem with many GPRS and 3G connections when establishing VPN (PPTP and also IPSEC ones).
I don't see how to help you more, sorry
PDAMerlin said:
Have you actually got a VPN session working? From what I can see, the problem is the way that the Vista side uses the modem.
If I do a route print from Vista with the VPN up, it doesn't add any routes, so sends all traffic to 192.168.160.1, which appears to be the IP of the modem/WM side of the device.
If I manually put in
ROUTE ADD 0.0.0.0 MASK 0.0.0.0 192.168.99.1
Which is the IP of the VPN router, all traffic gets routed out down the VPN and it works for about 5 minutes, then the "Local Area Connection" network card in Manage Networks, disappears. If I then drop the VPN (because strangely it stays up) the LAC card comes back...
PDAMerlin
Click to expand...
Click to collapse
vista utilizes ICS from WM6 to get the connection. that's why you see 192.168.0.1
We had a similar problem with Cisco VPN Client constantly disconnecting when using 3G Cards. We use a Cisco ASA 5510.
One solution is to disable the Keep Alive function in the ASA for the specific VPN Profile.
Hope that helps!
Try your Networks VPN APN - it could be an IP conflict.
I tried cisco vpn client over hsdpa and it worked.
I still have problem connecting with microsoft PPTP client. After few seconds connection vista-wm just drops and comes back again when PPTP client disconects.
Problem is ICS from WM6 in my appinion...
Please help me
Im facing a strange problème
When i use 3g data on lenovo a6000 4.4.4 every thing is normal even when i share internet with others every thing is normal but once starting a vpn connexion like openvpn or other applications the 3g data drops ane the vpn reconnect
This is only in 4.4.4 but when i updated a6000 to lalippop every thing is normal but its a slow slow rom please some one help me

[Q] Wifi issue. New findings?

Hello, been a long time reader from my G1 to my G2 and now my nexus 4.
I am unfortunately not able to use my device on certain wifi networks which is a real bummer.
Being that i have a background in diagnosing computer problems in my real world life, i thought i would post my findings as i found some interesting things!
First i will say that the network i will use as the demonstration is secured with WPA2 PSK AES security and encryption.
I can connect to it and often find i have problems on the first connect to the network. By this i mean if i have made my wifi settings 'forget the network' and then try to connect again.
On the first time it seems to indefinitely hang, showing the message 'authenticating' on screen next to the network and if i long press on the network name and press modify, the dialog shows that i have a link speed of 1mbps.
I can usually get past this by turning wifi off and on and then reconnecting, at which point it will connect straight away and have a normal link speed. (in this example 72mbps).
After i am connected, i find that the following does not load:
-browsing webpages through chrome does not load
-the wifi icon turns grey
-play store cannot load anything
I find that i get assigned an ip address by dhcp correctly too with the right gateway and dns.
I decided to download a network tool to have a better look. I use fing personally.
I found it very interesting what i found, which no other threads about wifi issues mention.
Network discovery found every device on the local wifi network.
I was able to scan the services of my computer which is also on the network and it found everything, including a http server which i run which i could browse to.
In fact i could do everything through wifi with this device and most others.
Again it got interesting when I then took a look at my gateway, the router.
I had discovered its mac address which i can verify through my computer is correct which to my understanding, being that i can communicate through the wifi, means that i have the information available to send information to that physical device?
When trying to scan services, i find nothing, which is not true, at the very least it exposes a http server on port 80 which my computer can access.
When trying to ping i have 100% packet loss.
So at this point it is only the gateway i cannot access.
So i figure i could setup another computer which is connected to the network with a wire to share its connection through wifi onto that network and then i have a standin gateway?
I connected this computer through wifi to the network and pinged it succesfully with my phone. I then turn ICS on my wired adaptor to share to my wifi adaptor. I ensure that the wifi maintains an ip address in the right range and subnet.
I then try to ping that ip with the phone and it then gets 100% packet loss.
Could this be that when a device is configured to act as a gateway something changes about how it handles any packets sent to it that the nexus 4 is currently in compatible with?
elltg said:
So at this point it is only the gateway i cannot access.
So i figure i could setup another computer which is connected to the network with a wire to share its connection through wifi onto that network and then i have a standin gateway?
I connected this computer through wifi to the network and pinged it succesfully with my phone. I then turn ICS on my wired adaptor to share to my wifi adaptor. I ensure that the wifi maintains an ip address in the right range and subnet.
I then try to ping that ip with the phone and it then gets 100% packet loss.
Could this be that when a device is configured to act as a gateway something changes about how it handles any packets sent to it that the nexus 4 is currently in compatible with?
Click to expand...
Click to collapse
I have found a bit of a workaround that i can use!
When i said i turned on the wifi and ICS i did the following:
-Turned on wifi.
-Connected to wifi network.
-Turned on ICS on my wired network to share to my wifi
-Observed that my ip changed from 192.168.10.x to 192.168.137.1 with no gateway or dns.
-I decided to change my ip on the wireless to 192.168.10.x and gateway to my router 192.168.10.10
-I then tested.
I ran through this again but slightly different:
-Turned on wifi.
-Connected to wifi network.
-Turned on ICS on my wired network to share to my wifi
-Observed that my ip changed from 192.168.10.x to 192.168.137.1 with no gateway or dns.
-I decided to change my ip on the phone to 192.168.137.5 with gateway and dns as 192.168.137.1
-I then tested. And it works!
I know this doesnt fix the wifi issue itself, but for me, this makes a big difference as i can now use wifi at work where we also have poor mobile network coverage.
Edit:
Additionally i previously tried to setup this same computer to host a wifi network to share the connection using 'netsh' and creating a 'hostednetwork' but i found i was in the same situation where i still couldnt get the internet.

[Q] VPN over wifi Internet doesn't work for some reason

I am able to connect to my home router's PPTP VPN server from my Android phone's PPTP client. I can even see my remote LAN devices; and, my remote LAN devices can see my mobile phone on the LAN.
The problem is when I connect my phone to wifi Internet.... BEFORE connecting to my PPTP VPN server... I can't see the remote LAN; and, the remote LAN can't see my phone. The only thing I can do successfully is get a new public IP (my home Internet public IP).
What can I do so that I am able to use my local wifi Internet connection to connect to my VPN at home?
It might be a route problem.
When you connect to WiFi, some static routes are pushed to your phone.
Those routes might not be refreshed or conserved after a VPN connection.
If it is not a route problem it's a default gateway problem.
Yes, that's what I suspected. I already tried adding routes; specifying the gateway via command-line; however, I didn't have any luck; probably because I didn't know exactly what I was doing.
One thing I noticed; when I use my wifi internet hotspot, I noticed that it gets a private WAN IP.. 10.x.x.x; which then NATs to a temporary real public IP; which no connections instigated from the outside world can make it So, even if I do port-fowarding on my wifi hotspot router, it doesnt help any since the incoming connections are stopped dead in their tracks.
I'm using PPTP VPN; which depends on a TCP port 1723. If that TCP connection is instigated from my remote VPN server into my mobile Internet wifi hotspot based LAN devices, it wouldn't work for the same reason explained above. I didn't see a PPTP VPN passthrough option for my wifi hotspot; only for IPSEC; which I dont have a server for. I'm guessing that if I had a real-world public WAN IP for my mobile Internet hotspot, maybe I wouldn't have this problem for PPTP.??
maaaaz said:
It might be a route problem.
When you connect to WiFi, some static routes are pushed to your phone.
Those routes might not be refreshed or conserved after a VPN connection.
If it is not a route problem it's a default gateway problem.
Click to expand...
Click to collapse
First, are you talking about a free internet hotspot or from private internet hotspot (@work for example) ?
you'll never gonna get a public IP from your internet hotspot. 1-public-IP-for-1-client on a hotspot is just inconceivable, due to IPv4 exhaustion.
I think you only have to try to do port forwarding on your hotspot.
Your assumption "it doesnt help any since the incoming connections are stopped dead in their tracks" is wrong I guess. If your hotspot has a built-in firewall, it might be stateful. As you are initiating a connection to your server, the returned traffic flow shall be allowed.
If it doesn't work after port forwarding, try to look at firewall rules on your hotspot router.
Problem resolved.
My Verizon wireless hotspot (890L) doesn't support PPTP passthough. More specifically, PPTP's routing protocol: GRE (value 47). Verizon does offer another wireless hotspot that does offer support for PPTP; at least via a firmware update.
This issue actually pushed me to install and configure OpenVPN server on my router; instead of using the existing PPTP server which I already had. OpenVPN is fantastic is working through firewalls.
Great !
Yes, OpenVPN is a delight.
me too
I have the same problem,
but I usually change another ROM until there's no bugs
mkanet said:
I am able to connect to my home router's PPTP VPN server from my Android phone's PPTP client. I can even see my remote LAN devices; and, my remote LAN devices can see my mobile phone on the LAN.
The problem is when I connect my phone to wifi Internet.... BEFORE connecting to my PPTP VPN server... I can't see the remote LAN; and, the remote LAN can't see my phone. The only thing I can do successfully is get a new public IP (my home Internet public IP).
What can I do so that I am able to use my local wifi Internet connection to connect to my VPN at home?
Click to expand...
Click to collapse
have you tried to configure the wi-fi gateway to match your vpn router?
settings / wireless & networks / wi-fi / long press your vpn connection / modify network / scroll to show advanced options / select static ip /scroll down to gateway and put the gate address in / save
I run a vpn through a 2 router setup, and even though my phone connects to the vpn router, its gateway by default is always the non-vpn router. changing the gateway to the vpn router allows the vpn to connect to the phone. you can verify the vpn connection by going to ip-score.
That why i can't see my phone using wifi in VPN network..
cant connect if theres no mobile data or load
Hi please help ..when i have load i see its connected..but if i have no load its not connecting please ..anyone can explain this?
mkanet said:
I am able to connect to my home router's PPTP VPN server from my Android phone's PPTP client. I can even see my remote LAN devices; and, my remote LAN devices can see my mobile phone on the LAN.
The problem is when I connect my phone to wifi Internet.... BEFORE connecting to my PPTP VPN server... I can't see the remote LAN; and, the remote LAN can't see my phone. The only thing I can do successfully gets a new public IP (my home Internet public IP).
What can I do so that I am able to use my local wifi Internet connection to connect to my VPN at home?
Click to expand...
Click to collapse
before I was able to connect the VPN from work and home but now I can able to connect from work only,,, the same VPN not working at home.. on my same MOB device
Please help me to fix this issue

Categories

Resources