VPN via 3G/HSDPA is still unresolved ? - Shift General

Hi Everyone,
Having the Shift as my workhorse since some moths, there is still one annoyance I couldn't avoid: my VPN connections are interrupting the Internet connection when using 3G/HSDPA modem connecting to Internet in Vista/WM.
I was trying to search through all existing threads, but I still don't see anyone finding a solution.
I think the root lays in WM somewhere, since I cannot establish a PPTP connection in WM neither. In my case it is certainly not caused by the data provider, because I have checked it with them.
Let's try to put our knowledge together to sort this out !

This is normal behaviour I suppose
When connected to the VPN, the VPN must provide you with either a proxy or another internet gateway, otherwise you are just connected to a private network...
Maybe you mean something else, but from what I read it seems like you never got on the internet with VPN active.
If you did, and you are talking about intermittent network errors, then only high performance settings on your power settings may help.
If you could give more info I could help more. IP/Proxy/Gateway/ did it ever work yes no etc.

lucid said:
When connected to the VPN, the VPN must provide you with either a proxy or another internet gateway, otherwise you are just connected to a private network...
Maybe you mean something else, but from what I read it seems like you never got on the internet with VPN active.
If you did, and you are talking about intermittent network errors, then only high performance settings on your power settings may help.
If you could give more info I could help more. IP/Proxy/Gateway/ did it ever work yes no etc.
Click to expand...
Click to collapse
Lucid,
Thanks for replying. I will try to explain it another way.
1. When I am connected to Internet via Wifi, I have no problem using my VPN connection. I get authenticated and connected to the company network and the connection stays active as long as I want.
2. Using 3G/HSDPA Internet, the following happens:
- I start the same VPN connection, and get connected.
- Than my 3G/HSDPA connection breaks up, and the PPTP dialin stays alive - it doesn't have any use this way of course.
- When I disconnect from VPN, the 3G connection comes back automatically.
I hope this is more clear this way, any hints are very welcome !

jarbi said:
2. Using 3G/HSDPA Internet, the following happens:
- I start the same VPN connection, and get connected.
- Than my 3G/HSDPA connection breaks up, and the PPTP dialin stays alive - it doesn't have any use this way of course.
- When I disconnect from VPN, the 3G connection comes back automatically.
Click to expand...
Click to collapse
Thats exactly the same problem that i have had for over months - it just doesn't work and I can't see any way to get it to work - so much so, I don't use the Shift anymore - got a Tytn II and redfly and just remote desktop to a PC on the work lan!

jarbi said:
Lucid,
Thanks for replying. I will try to explain it another way.
1. When I am connected to Internet via Wifi, I have no problem using my VPN connection. I get authenticated and connected to the company network and the connection stays active as long as I want.
2. Using 3G/HSDPA Internet, the following happens:
- I start the same VPN connection, and get connected.
- Than my 3G/HSDPA connection breaks up, and the PPTP dialin stays alive - it doesn't have any use this way of course.
- When I disconnect from VPN, the 3G connection comes back automatically.
I hope this is more clear this way, any hints are very welcome !
Click to expand...
Click to collapse
The VPN that you are running is on VISTA side.(if yes try to see the routing table) by default the VPN get the default GW, and try to change it.
If this is the issue then you can go to the VPN connection properties -> Networking ->TCP/IP -> Properties -> Advanced -> IP Setings -> unchek the use the default GW on remote network.
regards

Is this a problem caused by this vista "feature", which disconnects the 3G Modem from Vista, as soon as an other network is being connected via WLan or via cable?
I think this is a stupid feature. Instead of that the users just should set the metrics for the networks manually and you can be sure, that Vista always uses the WLAN instead of the GSM/3G modem, if both where available.

alazarid said:
The VPN that you are running is on VISTA side.(if yes try to see the routing table) by default the VPN get the default GW, and try to change it.
If this is the issue then you can go to the VPN connection properties -> Networking ->TCP/IP -> Properties -> Advanced -> IP Setings -> unchek the use the default GW on remote network.
regards
Click to expand...
Click to collapse
alazarid,
Thanks a ton, the TCP/IP part did the trick ! Now my VPN has a use ).
cheers !

Ok guys heres the issue...
At first I thought this problem was associated with the fact that there may have been some software monitoring for other data connections, to disable the GSM modem when not needed...
After checking into everything, I found that there is probably NO software that does this...
Since WM handles the passthrough for the 3G connection, and ontop of that the actual endpoint for the data connection on the GSM connection is the WM side and not Vista, what happens is what when the VPN creates a connection and you opt-in to use the default remote gateway (I prefer to use it, because I require this for the work I do), the default gateway is updated on the 3G network interface.
I beleive that this update of configuration, then causes the WM side to stop the connection because either a) it doesn't know howto interprit this or b) retries to create the connection because it thinks there is an error.
I havn't played with this for a few weeks, and have my fair shareof other stuff I deal with, so I cannot remember if WM NATs the 3G connection, but the key thing breaking this is the WM side.
I beleive that IF you did want to hack up a configuration that uses the remote gateway, you could configure a VPN connection under Windows Mobile and have WM connect to the VPN, therefor the PC would be using that connection (but wouldn't be aware that its connected to the VPN), therefore giving the user access to the VPN, WITH the remote default gateway being used.
Again, as I mentioned its been a while since ive gone tech on my Shift, but I beleive this is correct. If anyone wants to add anything, please feel free.

Related

Success with L2TP/IPSec VPNs?

Has anyone had any success with L2TP/IPSec VPNs and Windows Mobile 5 or 6? I have no problems with getting PPTP to work but have NEVER had any success with L2TP/IPSec. I have valid Client & Server Certificates but I have never been able to get a connection; in fact the HTC Wizard I have never even attempts to make a connection (I have a sniffer on the Ethernet port my Wireless AP is connected to). I have tried using Certificates & Pre-Shared Keys but the results are the same - The Wizard never attempts to connect, with PPTP it works every time.
The Server I am using is a Windows 2003 RRAS server and I have verified with a Windows XP Client that L2TP/IPSec works.
I have asked the question before but have not had any helpful replies. I would be grateful if anyone who has set this up successfully can let me know and maybe give me a run-down of the steps you used. I am not interested in any 3rd party VPN clients, it must be the built-in one.
Thanks
Andy
Hi
Yes I have had the same issue with both the wizard and now hermes tried wm5 and wm6. I think it maybe related to NAT-T translation as am unsure from my reading weather MS supports NAT-T on the mobile end. If data session is being NATed by your provider then this may be the cause. Probably need to check the ip packets comming from the phone to see what it is sending out. Is that what you did or is the sniffer at the other end.
sebjepb said:
Hi
Yes I have had the same issue with both the wizard and now hermes tried wm5 and wm6. I think it maybe related to NAT-T translation as am unsure from my reading weather MS supports NAT-T on the mobile end. If data session is being NATed by your provider then this may be the cause. Probably need to check the ip packets comming from the phone to see what it is sending out. Is that what you did or is the sniffer at the other end.
Click to expand...
Click to collapse
It has nothing to do with NAT traversal. WM5 (and WM6 probably?) does NOT support NAT-T, however I am not attempting to get this working over NAT. As I said I have a put a sniffer on the Ethernet port my Wireless AP is connected to and my Wizard does not transmit anything when configured for L2TP/IPSec (except a DNS lookup for the VPN server name if I enter it's DNS name as opposed to it's IP address). With PPTP it works and I can happily see the packets it transmits on the sniffer.
This is really frustrating as it looks like no one has ever got this to work
I had a HP iPAQ 6365 previously with Windows Mobile 2003 and I managed to get it working on this quite easily
Andy
Andy
I now have this working on both the wizard and the hermes.
I am a bit confused with your last response as ipsec port 4500 is nat-t and is required and is being transmitted by both the wizard and hermes in my case.
My setup maybe somewhat different to yours as I have a windows sbs2003 server running isa and rras. It is sitting behind an adsl modem router connected to the internet. The data connection on my phone is edge network on the wizard and HSDPA on the Hermes. Also have tried this via WiFi as well.
Steps I used
On server side router
On adsl modem router setup forwarding udp ports 500 ipsec, 4500 nat-t and 1701 l2tp and protocol 50 IPsec ESP. I selected l2tp/ipsec from its predefined list but noticed it missed udp 1701 so added this manually.
On Server.
ISA management selected Network Configuration right click and selected Allow vpn connections. This essentially setups the ip filters to allow incomming protocols and then sets up rras for pptp and l2tp ports.
In rras configure a preshared key by right click server/properties/security tick allow custome ipsec policy... and added preshared key.
On mobile
settings/connections
My Work Network
Edit my vpn servers and added new IPsec/L2TP connection.
Works a treat hope this helps
I did notice on another forum something about disabling the phone skin but I did not have to do this.
Regards
Stephen
sebjepb said:
Andy
I now have this working on both the wizard and the hermes.
I am a bit confused with your last response as ipsec port 4500 is nat-t and is required and is being transmitted by both the wizard and hermes in my case.
My setup maybe somewhat different to yours as I have a windows sbs2003 server running isa and rras. It is sitting behind an adsl modem router connected to the internet. The data connection on my phone is edge network on the wizard and HSDPA on the Hermes. Also have tried this via WiFi as well.
Steps I used
On server side router
On adsl modem router setup forwarding udp ports 500 ipsec, 4500 nat-t and 1701 l2tp and protocol 50 IPsec ESP. I selected l2tp/ipsec from its predefined list but noticed it missed udp 1701 so added this manually.
On Server.
ISA management selected Network Configuration right click and selected Allow vpn connections. This essentially setups the ip filters to allow incomming protocols and then sets up rras for pptp and l2tp ports.
In rras configure a preshared key by right click server/properties/security tick allow custome ipsec policy... and added preshared key.
On mobile
settings/connections
My Work Network
Edit my vpn servers and added new IPsec/L2TP connection.
Works a treat hope this helps
I did notice on another forum something about disabling the phone skin but I did not have to do this.
Regards
Stephen
Click to expand...
Click to collapse
What ROM are you running on the Wizard? I am currently running a WM6 ROM but I previously used the official QTEK update (AKU 2.3 I think?) and then various WM5 AKU 3.3 ROMs. I have tested this with all of them and none have worked. If I could just see it attempt to connect I would be happy The fact is it doesn't transmit anything at all and all I see is the dialogue box on the Wizard saying 'Cannot Connect'....
With regards to NAT-T I read that the VPN Client in Windows Mobile 5 was not capable of this, I could be wrong however?
Andy
Sorry didn't have signature updated I'm running WM6 MBE on the wizard and WM6 Black on the Hermes
Ok I am still confused can you tell me exactly how you are connecting to your work network. Wifi or gprs.
Can you check also.
Under settings/connections/advanced/select networks make sure you have a separate ie different connections for the internet and private network. The Intenet settings will be your service provider grps settings.
For the private network mine is set as My Work Network. Edit this and make sure sure you do not have any modem connection listed ie we want to make sure it goes out over our existing connection and does not try to make a new connection. Make sure the vpn tab has your vpn settings as required they must be listed here and not under the Internet connection.
If you are using WiFi you must make sure the network setup is Connects to: The Internet and not set to Work. If it is work the VPN will not connect. You can not change this on the fly need to disconnect and setup again.
PM Me When you get to work given time diff I should be home. Might be able to test connection to my server at home then can check logs etc
Also use Task manger v2.7 to view netsats on phone to confirm udp ports and ip routes etc. It will show you if the phone is indeed sending should see upd ports 500 4500 and 1701 being used.
Stephen
sebjepb said:
Sorry didn't have signature updated I'm running WM6 MBE on the wizard and WM6 Black on the Hermes
Ok I am still confused can you tell me exactly how you are connecting to your work network. Wifi or gprs.
Can you check also.
Under settings/connections/advanced/select networks make sure you have a separate ie different connections for the internet and private network. The Intenet settings will be your service provider grps settings.
For the private network mine is set as My Work Network. Edit this and make sure sure you do not have any modem connection listed ie we want to make sure it goes out over our existing connection and does not try to make a new connection. Make sure the vpn tab has your vpn settings as required they must be listed here and not under the Internet connection.
If you are using WiFi you must make sure the network setup is Connects to: The Internet and not set to Work. If it is work the VPN will not connect. You can not change this on the fly need to disconnect and setup again.
PM Me When you get to work given time diff I should be home. Might be able to test connection to my server at home then can check logs etc
Also use Task manger v2.7 to view netsats on phone to confirm udp ports and ip routes etc. It will show you if the phone is indeed sending should see upd ports 500 4500 and 1701 being used.
Stephen
Click to expand...
Click to collapse
I am using WiFi, this is all in a test environment so I have full control over everything. Under Connections I have 'My ISP' and 'My Work Network' listed. 'My ISP' has a modem entry, 'My Work Network' has no modem but has a VPN listed with the IP Address of the VPN server and set to L2TP/IPSec using a certificate on the device (I have tried with pre-shared key also). The WiFi entry is configured as 'Connects to The Internet'.
I enable the WiFi and verify I have connectivity, I then go to Connections, click on My Work Network, 'Manage existing connections' select the VPN tab, hold down the stylus on the entry and click connect and I almost immediately get the dialogue box saying 'cannot connect'. If I edit the VPN entry so it is PPTP it works every time. As I said I have a sniffer on so I can see what the Wizard transmits and it when set to L2TP/IPSec it doesnt transmit anything whatsoever, with PPTP I can capture the whole conversation.
Thanks for any help you can give me.
Andy
Ok I have now also tried using certificates and your right it does not seem to sending any info at all. It might ahve something to do with checking the certificate store first I ahve had issues before with Cisco vpn and certificates you have to get the nameing and certification justs right before it even starts the connection.
So first thing lets try pre shared keys as I have got that working. I will PM you my server details if you wish to try that first.
Stephen
sebjepb said:
Ok I have now also tried using certificates and your right it does not seem to sending any info at all. It might ahve something to do with checking the certificate store first I ahve had issues before with Cisco vpn and certificates you have to get the nameing and certification justs right before it even starts the connection.
So first thing lets try pre shared keys as I have got that working. I will PM you my server details if you wish to try that first.
Stephen
Click to expand...
Click to collapse
I have just re-tested this and using a pre-shared key - same result
There is a brief flash of 'connecting' when you click connect but then the 'Cannot Connect' dialogue box appears, nothing gets transmitted. I have tried entering different IP addresses (public, private etc) just to see if it will transmit anything - it doesn't regardless of the IP address I enter.....
Andy
Andy
check your pm
Are you sure the wireless ap is actually passing the ipsec/l2tp traffic.
Working, well sort of.....
After a lot of messing around I now have this working, at least partially........
Following a soft-reset I can connect to a Wireless network OK (either a new one or one that is pre-configured), I can then connect the VPN using L2TP/IPSec. I can also manually disconnect the VPN and re-connect without any issues. However, when the wireless is disconnected (i.e. turned off from CommManager) and then re-connected the VPN will never work again, unless the Wizard is soft-reset.
Does anyone know what is likely to be causing this? some application in memory or a registry 'state' entry
Does anyone else see this behaviour?
Andy
I had exactly this with L2TP/IPSec on the MDA Vario II, but the same settings work as they should on my Athena.
ADB100 said:
After a lot of messing around I now have this working, at least partially........
Following a soft-reset I can connect to a Wireless network OK (either a new one or one that is pre-configured), I can then connect the VPN using L2TP/IPSec. I can also manually disconnect the VPN and re-connect without any issues. However, when the wireless is disconnected (i.e. turned off from CommManager) and then re-connected the VPN will never work again, unless the Wizard is soft-reset.
Does anyone know what is likely to be causing this? some application in memory or a registry 'state' entry
Does anyone else see this behaviour?
Andy
Click to expand...
Click to collapse
HI!
How can you DISCONNECT?? Do you get a "Disconnect" button or menu item somewhere??
How do you know you are connected to VPN?
Thank you,
Dmitry.
A bit late but...
I have a possible solution to the fact it doesn't send ANY traffic on a connect attempt - on my XDA mini S (HTC Wizard) it requires me to put something in the 'domain' field on the username/pwd screen before it will start the IPSec negotiation....
Now I just have to get it o complete the process with the sonicwall...
David
Revisiting this
I can't get PPTP going on my HD2. Thoughts?
bumping this message
I have tried all the usual vpn software (for 3g connectivity) the only third party software that connects is the ncp software, but I get stuck because it wont accept a challenge response grid.
Symantic - won't auth
Green something - doesn't connect
MS VPN - doesn't connect
I have been able to connect in the past with an iPhone, but without a java i can't connect to most motorola hardware devices at work so it's useless. I'm testing a G1 on 1.6 now and it fails to connect also. Going to try openvpn today sometime. MY friend has his Eris working, so I know droid OS works.
I work for a large company and switching vpn hardware is out of the question, so if anyone has a 3g resolution for winmo, I won't have to trade my HD2.
Hi,
L2TR VPN with the Windows Mobile is working !!
The trick with L2TR VPN on WM is to use: a IP address (and NOT a hostname)
Strange, because using a hostname with PPTP VPN on the Windows Mobile it works.
With the trick L2TR works perfectly.
Chris
Hello. This is my first foray into VPN on Win Mo. I can establish a PPTP connection between my Imagio (stock Win Mo 6.5 R1) and my SBS 2008 server. I can ping the server and can browse the company web page. But I am having no luck accessing file shares. I have Schaps Network Plugin installed, but it doesn't see/can't access the shares. Will switching to IpSec VPN work? If so, any guidance on how to set it up on SBS 2008.

VPN connects but no throughput

I connected the VPN on my WIZARD WM6 but I cant access nothing from the intranet. So its just a connection without any data flowing. Can't also connect a remote desktop. Pls HELP
alber786 said:
I connected the VPN on my WIZARD WM6 but I cant access nothing from the intranet. So its just a connection without any data flowing. Can't also connect a remote desktop. Pls HELP
Click to expand...
Click to collapse
For the VPN to work you need to specify what connection to use for 'Internet' and also what use 'Work'. You do this by, Settings, Connections, Connections, then click Advanced and then Select Networks. You need to make sure the settings for My ISP and My Work Network (default names) are correct. You should also add URL exceptions for your works DNS domain - i.e. '*.company.com' or any IP networks (192.168.100.* etc).
This took me a while to understand, however it now makes sense, even if it doesn't seem too logical....
Andy

Huge Design Flaw! - VPN and Network Sharing

Ok guys, need some help...
I've noticed that the sharing "adapter" if you want to call it that, is only available to the operating system when no other network device is present.
If WiFi is enabled, the "sharing adapater" disapeers and HSDPA is lost.
This all makes sense, especially to make sure that if you have wifi, that your USING it...
But here comes my problem... I configured a VPN connection to my office, upon connecting it works, UNTIL all of a sudden the HSDPA "Sharing Adapater" disapeers. I guess it counts the VPN connection adapater as a internet connection, and automaticly disables and removes the HSDPA modem...
VPN connect, connected, sharing disapeers with HSDPA, VPN connection lost, and then the HSDPA connection is created again...
What on this device monitors the creation and status of live network adapaters. Is there a registry entry that i can simply change to keep HSDPA running when other connections are available....
This device rocks, but hey, if I can't connect to my VPN server, say goodbye to my mobile office (internal VoIP PBX, Outlook with Exchange, Internal NEtwork shares, Quickbooks, etc...)
Verified this issue is occuring with others...
Most people seem to think its on the WM side, but I beg to differ... I'm going to checkout the proccesses running in the background, see if theres a HTC app that monitors active network adapaters and what not... It's probably the culperate...
you can give higher priority to hsdpa to keep it when wifi is on. there is no setup the shift cannot do to connect to a VPN. It's just that you need to setup vista properly.
I can use wifi and still be connected with wm side
I'm not to sure thats the issue...
If there are ANY active NEtwork adapters present, then the HSDPA Shared interface disapeers...
The device removes itself from the computer, its not present in the Device manager anymore, and then magically re-appears if there are NO other active interfaces present.
Anyone know what process might control the device removal?
Hi Zhariak,
I can't help you I'm afraid but I have the same issue:
I want to use my Shift as a Router using WLAN to connect the devices and HDSPA to connect to the internet.
I encounter the same problem. As soon as I build up the Wifi connection my HSDPA is gone.
The connection is not closed down as it runs smoothly on the WinMo side.
It's just gone on the Vista side. And that sucks big time!
I hope someone can help us.
Cheers, Hyrex

Setting up VPN with WM 6.1 Pro and Vista Home Premium

Hey folks! I need some help setting up VPN. Here's what I want to do: I want to be able to connect to my PC through Internet (HSDPA Connection. NOT Wireless LAN!!!!!) and access the network shares on my PC. Okay, now I believe the only way not involving a HTTP Server on my PC would be to set up a VPN network. What I have done so far is configuring Vista. I set up the VPN Server. I think almost nothing can go wrong, because the only setting that I'm prompted for is Username/PW to allow... ANyway so I did this, and a friend of mine managed to connect. So I think the Vista-Part is okay. Now when I try to do it with my mobile, I FAIL. I did setup the VPN Connection in the Connections menu, and then I find the connection in the list and I tap-and-hold it and choose connect, and then it SEEMS the phone is trying to connect, at least it establishes the HSDPA Connection if it's not ready. But nothing more happens. No errors, no warnings, no indicators, nothing. Resco Explorer can't see my PC and my PC doesn't show an active VPN Connection either. I've already tried to alter the settings of the VPN Connection on my mobile and I think I've had them in almost every possible constellation but it simply won't work. Can someone help me and explain how to do it please? Your efforts would be very much appreciated!
Nobody? I really need this

VPN Pptp over wifi in HTC Leo

Hi!
I have been trying to connect to my to vpn pptp server (witopia.net) for 2 days. I tried every combination that i could think, but there must be something i am doing wrong. I think the mobile is trying to connect to the vpn server through gsm because everytime i try to connect the gsm signal bars disappear for a few moments. How can i make sure that the vpn connection goes through wifi?
I have managed to actually connect to the vpn server, but i cannot access websites like facebook and youtube from the Leo (I live in China and they are blocked). I am able to access blocked services through my iphone and laptop through the same vpn connection.
Any suggestions?
Thanks
PPTP on WM6 is a major problem. Especially if the server (and most do) required MPPE. Its one of the few niggles I have about WM. If you own the server your best setting up the conection using L2TP/IPSEC.
Or if you dont own the VPN server, and have a server laying around the house (as I do) you could set up your server to use the PPTP VPN then set there server as a Proxy, and connect WM6 to the server via proxy...so basically WM6>Proxy>VPN>interwebs
Hi Jagnet, Thank you for your reply.
Unfortunately i am not able to use Ipsec/L2TP in China, only PPTP works fine with blocked sites.
After trying many combinations, there is a step that i havent been able to figure it out.
Once i am in Start > Settings > Connections (tab) > Connections (icon) > Advanced (tab) > Select Networks, How do i select the WIFI connection in "Programs that automatically connect to the internet should connect using" opcion? . On the modem tab i only can choose "celullar line", "Celullar line (GPRS)" or "Hayes Compatible on COM1:", there is nothing about WIFI there, so when i try to connect at the vpn server specified in "Programs that automatically connect to a private network should connect using", the phone seems to be trying to connect via GPRS.
¿Any ideas?
Thanks
joaquinmora said:
Hi!
I have been trying to connect to my to vpn pptp server (witopia.net) for 2 days. I tried every combination that i could think, but there must be something i am doing wrong. I think the mobile is trying to connect to the vpn server through gsm because everytime i try to connect the gsm signal bars disappear for a few moments. How can i make sure that the vpn connection goes through wifi?
I have managed to actually connect to the vpn server, but i cannot access websites like facebook and youtube from the Leo (I live in China and they are blocked). I am able to access blocked services through my iphone and laptop through the same vpn connection.
Any suggestions?
Thanks
Click to expand...
Click to collapse
having similar issues with HD2. CMCC as well, in China.
I am getting a proxy IP address if I check on ipchicken.com, etc
but I am not able to open FB.
I am not using the PPTP option, but using their SSL service with
openVPN. but STILL not working..
right now on support chats with witopia.
VPN PPTP is simply broken in WM. It will work, but only with no encryption at all, which beats the purpose.
First of all sorry for bumping this old thread. But I have been looking and it seems kinda close to what I`m doing, oh a little new to vpn.
I have managed to sucessfully connect the HD2 via VPN in connections only when on the lan (outwith I need to contact O2 to get it enabled apparently). I setup a dialup connection in Win 7; HD2 says I`m connected to the VPN.
However heres the thing. Am I right in thinking that folders by default have to be shared. Therefore when using resco I can see network folders anyway, when connected to wifi.
So how would I prove that I can see folders shared to the VPN and not on the LAN as I cant seem to prove whether I`m seeing the folder via LAN and not on the VPN?
Sorry if its confusing but perhaps you get my drift? Or am I missing the point entirely....

Categories

Resources