VPN - Networking

Hi there
I have an XDAIIs with a GPRS connection, I can access my company emails
I want to connect to my work VPN to access the network
I have set the VPN ip address in my work connections, when I select connect to my VPN it dials my GPRS and connects but doesnt call the ip address
Any ideas what I am doing wrong or what I should be doing?
Regards
Tim

throw ipsec away and use openvpn and brand new openvpn for pocketpc port...
Trust me... it's well worth the try (and it's opensource!!!)
Bye
Drakpz

Related

VPN over WiFi connection

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

tilt and vpn issues over edge

i have isp.cingular provisioned and can connect some of the time.
1 vpn which goes to my home network works using vista as the vpn server connection. It does not always connect the first time though.
My work vpn which is pptp on a watchguard firewall, has 5% chance of actually connecting. Most of the error messages are talking about packets missing etc... When it does connect i cannot ping servers on the network but i see that the phone has a correct ip address and dns servers from the vpn. the gateway is the same as the ip assigned to the connection.
I have the same issue using the tilt over wifi from home where the vpn does not always connect at work.
I know the work vpn is fine since i use it all the time with vista's vpn dialup stuff.
Anyone got answers or ideas?

WM6 won't connect to PPTP VPN over gprs or wifi

Hi,
I am trying unsuccessfully to connect to a PPTP VPN using the VPN client built into my new HTC TyTN II.
Wifi - I can connect using a WinXP SP2 laptop using wifi through my home linksys wireless router (which has PPTP passthrough enabled) using the standard Win XP vpn client. When I try with my TyTN II, I can browse ok but if I set up a VPN connection I get "VPN server problems. Verify your username and password, etc"
GPRS - If I try to connect over GPRS, I connect to Orange GPRS but when it tries to connect to the IP address of my VPN server, I get the same VPN server problem error message. (As a side issue, I asked Orange to enable my account for vpn which they did, sent a SIM update and told me to change my apn to 'internetvpn' instead of 'orangeinternet')
As I can connect through my wifi connected laptop, it seems to point to my WM6 vpn client but my forum searches suggest that the WM6 client works ok. Oh, and yes, I have checked that I am using the correct vpn username and password!
Any thoughts greatly appreciated - the ability to maintain some linux servers was my main reason for getting this phone!
_______________________________________________________
Phone - HTC TyTN from Orange
Windows Mobile 6 Professional
CE OS 5.2.1620 (Build 18125.0.4.2)
Processor QUALCOMM MSM7200-400MHz
Memory 101.63MB
Setings Device Information Version
Operator version 24.181.1.612
ROM Version 1.81.61.2.WWE
ROM Date 09/20/07
Radio version 1.27.14.32
Protocol version 22.45.88.07H
Bump!!! Same problem here. I have all the proper ports open on my router and still no luck.
I've been trying to resolve this with the people that manage my vpn server which is my case is a Watchguard firewall - apparantly Watchguard isn't compatable with PPTP on WM6 and they have suggested using IPSec and have provided me with a client (not that I've got that working yet either!)
I suggest you contact the vendor of your vpn server and ask them whether they are compatable and how a WM6 client should be configured. Post anything you find out here for the benefit of others.
WM6 don't connect to VPN over GPRS/ WiFi
Friends...
I have the same problem... the VPN server is Windows Server 2003... My PDA has WM6 (with in-build VPN client)... then VPN PPTP would work OK... but What is the wrong??
Regards...
I also could not connect on vpn over GPRS and got error message, but after I tested all installed programs I have found out that my SPB GPRS Monitor was the reason for the errors. So I killed it.
Now VPN over GPRS connects and looking into register I see that I am really connected i.e. I got DNS server IP, I got name of the local network and dynamic IP for my HTC, but nothing works. As I have found out from server guys they see me but my dynamic IP is not logged in server DNS, so no program sees me and I can not work.
Can somebody help?
Same
I have a similar problem but the difference is that i don't even receive an error message. When i click connect NOTHING happens!! The wifi i am using is an open network but I must connect to vpn to connect to the internet.
Please help as i really need to get this working...
I have been trying to iron this out with IT at my office as well. I have been trying to get WM6.1 VPN working for nearly a year.
I have a TyTnII and my IT office just bought some kind of WM6.1 Motorola/Sprint Smartphone as well which they actually asked me about setting up for them.
The problem what I am experiencing is that I CAN connect to the VPN server (I use one of the TaskMan progs that has ipconfig built it, and I am getting an appropriate IP from the VPN server). BUT I can't browse ANY intranet sites via PIE or Opera Mobile 9.5. Whenever I try to browse to an intranet site I just get nothing, browser does nothing for ~10min then gives timeout error.
I have heard that this has to do with an inbuilt error in the PPTP module of the VPN client that incorrectly makes VPN server requests using the IP address assigned by the GPRS/EDGE/3G/etc. connection rather than the IP address assigned by the VPN connection, obviously will cause problems!
Anyway, we are investigating 3rd part VPN clients...
Only IPSEC works
I also made many tries to get vpn working over BT PAN profile.
The only configuration which worked for my was IPSEC with the Safenet SoftRemote-LT Client on PC.
With the windows native pptp based vpn does not work .
I got the error code 721 what means that the GRE protocol (frame type 47 on port 1721) does not pass through. This seems to be the the real problem of the packet filtering components of the WM device. The problem is not related to bluetooth or PAN Driver, because it behaves in the same way if you try to do it over USB port. No way.
You guys might want to check out my post about getting my PPTP VPN working and actually syncing ActiveSync on a fixed schedule regularly over VPN.
http://forum.xda-developers.com/showthread.php?t=428878
Getting what you want to work over VPN requires work URL Exceptions so that the traffice is properly routed.
nkitson said:
I've been trying to resolve this with the people that manage my vpn server which is my case is a Watchguard firewall - apparantly Watchguard isn't compatable with PPTP on WM6 and they have suggested using IPSec and have provided me with a client (not that I've got that working yet either!)
I suggest you contact the vendor of your vpn server and ask them whether they are compatable and how a WM6 client should be configured. Post anything you find out here for the benefit of others.
Click to expand...
Click to collapse
Watchguard does support PPTP, your IT guys just need to configure it. As for IPSec which would be awesome because there is an app call Greenbow that will connect you over 3G doesn't work with Watchguard. You can only connect using their own client for it which needs a license and isn't support on Windows Mobile. They got a hate email from me for that crap.

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

[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