how to keep vpn connection - Networking

My phone is TYTN II. I have configured vpn connection and exceptions, where if I type internal address in browser (192.168.0.*/*) then I see my phone is connecting to isp and then to vpn gateway.
With Internet Explorer it is working fine, Im happy with that, its a bit different when Im using Opera, I have to refresh few times the address till phone establish connection to vpn.
But it is not working with putty. Sometimes I have to urgently login to shell in my internal network and it is not possible. Im opening inetrnal address with, lets say, IE, then I fast opening putty and if Im lucky I can establish connection with shell, but then it loosing vpn connection after short time and Im loosing connection with shell.
My question is - how to force phone to establish connection to vpn and keep it alive? Is it a question of registery or maybe some software?
Thank you
Regards

You're lucky. I can't even get a VPN connection to stay active. I noticed you said you created exceptions. How do you do that?
Basically, I just need it to work with Remote Desktop.
moby_wan_kenoby said:
My phone is TYTN II. I have configured vpn connection and exceptions, where if I type internal address in browser (192.168.0.*/*) then I see my phone is connecting to isp and then to vpn gateway.
With Internet Explorer it is working fine, Im happy with that, its a bit different when Im using Opera, I have to refresh few times the address till phone establish connection to vpn.
But it is not working with putty. Sometimes I have to urgently login to shell in my internal network and it is not possible. Im opening inetrnal address with, lets say, IE, then I fast opening putty and if Im lucky I can establish connection with shell, but then it loosing vpn connection after short time and Im loosing connection with shell.
My question is - how to force phone to establish connection to vpn and keep it alive? Is it a question of registery or maybe some software?
Thank you
Regards
Click to expand...
Click to collapse

Related

Unable to stay connected to VPN server via Wifi

I am not able to stay connected to Windows 2003 pptp vpn server.
When i look at the logs on the server, it indicates the pda2k authenticated, ip address assigned, then it immediately disconnects, no errors on the server and no errors on the devie either......this is puzzling.
any ideas?
thanks.
I have exactly the same problem. I can see the connection is established on the PC but it drops after about 3 seconds. Really bugging me now.
Iain
found any solution to this problem yet??
8)
believe it effectively relates to the differences in the pocket pc using "internet" and "work" when choosing and establishing a connection type. internet expects "." in its addresses, whereas work doesnt and anticipates the use of Named addresses such as the name of your server, however, I dont find the DNS effective for this.
to allow it to work when the VPN is on a work connection, I think you need to use the exceptions tab, and insert the IP addresses you are using to connect as an exception to the rules, thus allowing 10.0.0.1 as an address if this the address to your server.
There are posts on this forum that are more specific, but this is the gist of it, search WIFI VPN or similar. Same method if using a VPN over GPRS.
I can connect after a softreset...it maybe work 1-10 times in a row...and then it just stops and dont work again...not until I do a softreset again!
I can go up on gprs and such and surf the net just fine...but not onto vpn.

VPN via 3G/HSDPA is still unresolved ?

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.

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....

accessing network services on pda over the internet (gprs/3g)?

hi,
i have a hd2 and want to run different network services like ftp server oder a vnc server on it.
when i connect to my pda while it is connected to my home network with wlan, everything ist working as expected. eg. i start the ftp server on my pda, and connect to it from my desktop using the ip adress that it has obtained from the dhcp server, also vnc and other services are working fine.
the problems starts when i try to connect to my pda over the cellular data connection gprs/3g. the device establish the connection, i can browse the internet oder use email, everything works as expected. but when i try to access the ip address that the telecom provider has given to my pda, i cant make a connection. i get the ipaddress over tools like vxutil oder pocketdhcp and also try webservices like whatismyip.com, to asure that the ip is correct. but i simply cant connect to the device. its like all ports are closed.
are there any restrictions in the ip stack of the pda for incoming connections or is this a provider firewalling thing? i tried 2 different provider my self an both seems to have this problem.
regards mad
it comes down to which ports your phone company leaves open most don't leave too many open
hi,
thats what i expected too. as far as i can see german t-(in)mobile and eplus seems to block hardcore everything. the main application for me is vnc, i want our customers to be able to connect remotly with the ultra vnc sc tool. so the only way to do this when im at gprs/3g, is to use some kind of repeater software on that is always on and is connected to the internet all the time.
regards mad
where is i canfound related forum like this??

Categories

Resources