Openvpn on Samsung Galaxy S I9000 - Gingerbread - Galaxy S I9000 General

I've been trying to get my Galaxy to connect to my Openvpn secure network.
I am using a DD-WRT Linksys server which is working well with several different Windows clients.
After trying several different installation variants, on the droid, I've settled for a Voodoo kernel which has the tun.ko module already included.
I'm using Openvpn Settings from the market to enable and run the OpenVPN
During connection, it does everything that you would expect and gets its tunnel IP address from the Openvpn
When I connect the Galaxy I9000 to WiFi everything is "hunky" and works well - the 3CX app connects to my 3CX VoIP server perfectly.
However
When I disconnect the OpenVPN and connect the phone to 3G (Vodafone UK), again everything connects and I get the appropriate IP addresses.
The 3CX client also "registers" its SIP with the 3CX server but doesnt seem to handle any RTP packets.
Also, if I try and browse to a web server in the LAN, it works with the WiFi connection but not the 3G
Now another strange thing.
If I set up tethering - to get a WiFi connection for my Windows laptop.
And then run OpenVPN client on the Laptop - everything works even through the same 3G connection of the Galaxy i9000.
Any ideas???

All resolved now
In fact Openvpn was working fine.
It was the VoIP/SIP app that wasnt working properly - all fixed now by changing parameters on the 3CX VoIP server.
Also browsing to internal LAN webservers wasnt working - downloaded a copy of Firefox for the Android and all is fine - I think the other browsers (Opera etc) have some kind of proxy that they operate though - if this is so, the proxy is probably outside my OpenVPN LAN

i like how questions are always in the right section

Related

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)

Cisco VPN + WM6 Internet Sharing?

Anyone get these two to play nice together?
Details:
Cisco PIX 501e at the office
WM6 3g phone (HTC TyTn II)
vista/xp laptop (working properly on either would be great right now )
VPN setup on the pix is, i believe, fine. I could be wrong tho, i set it up by trial and error + reading the manual having never even touched a cisco device before
It works tho and has worked flawlessly for months now with Cisco VPN Client on XP or Vista machines.
Old phone was WM5 and used the clunky and annoying modem emulator to enable a laptop to use it to connect to intarwebs in the middle of nowhere, this was great and after faffing about getting it setup worked fine (required you to be logged in as administrator on vista tho :\ and not just a user account with admin privileges, actually administrator. Annoying.)
New phone is WM6 and uses internet sharing to connect with a laptop, this is a much better solution with no faffing about in vista and XP
Problem: Cisco VPN client connects to the pix through Internet Sharing on the phone just fine, however no traffic gets through.
Cannot ping, web browse, dns, rdc or anything to the network at work. Tried with Cisco VPN client v4.6.00.0049 and v5.0.01.0600 on XP and v5.0.00.0340 on Vista, none work.
This sucks
Now, i know its not a problem with the laptop or the vpn software on the laptop as these work fine when connected over ethernet or wifi.
Its not a problem with the phone's 3g connection, i installed a trial of bluefire vpn client onto it and that connects to the vpn and works just fine when the phone is in standalone mode.
However for the life of me i cannot get the two bloody things to work together.
Plz halp
Hi,
Often times, the inability to ping a local host (computers or other connected devices e.g router, hardware firewall, printer, PPC, etc) or hosts, is due to the firewall not allowing traffic through the router. It can also be that the hosts are incorrectly configured to be on different subnets, even though they are local, as in your own case.
Proceed as follows to troubleshoot:
a). Ping the router
Note that the idea is to see if we can establish communication with the router or hardware firewall such as the Pix.
At command prompt (c:\>) type:
ping 192.168.0.1
(each router manufacturer uses a different default internal IP address for its router) - the one above is for a Netgear or D-Link router - for a Cisco router, you would need to know the Cisco IOS command - see your router manual for this.
b). ipconfig /all
Note: there is a space before the forwardslash.
When it returns the parameters, check to see that the IP addresses are all on the same subnet.
This is crucially important for you to take good note. If you are not able to ping a local host or gateway, it's most likely due to this.
c). Ping the Pix Firewall (using its IP address)
d). Ping a remote IP address, e.g. your ISP's gateway or DNS server
e). Is there traffic? If it returns successfully, then ping the other hosts, including the VPN client.
Pix Firewall
Check to see that the Access Control List is configured correctly by ensuring that the IP addresses of the connected hosts have been entered, with the relevant access rights.
Router
Log on to the router. Whilst there:
Ensure that the hosts (computers, etc) are all on the SAME subnet. If they are on different subnets, you must correct the IP addresses to reflect that they are on the same subnet.
Note: If you do really want them to be on different subnets, then you need to use a default gateway.
Hope this helps.
kiwi992.

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.

PPTP VPN not working?

Hi Guys,
i have access to a few VPN servers incl. my own in Europe and a few strong VPN accounts.
But once i connect with PTPP VPN - i get a little traffic back and then it stops completely. I do not have problems with other platforms (Mac, PC, iPhone etc)
It happens both on WiFi and 3G etc.
Anyone have VPN working?
(Firmware .16 UK Generic)
ohh - and L2TP can't negotiate security with my router from the X10 - rest of my devices can..
Damn this X10 is full of issues.
its broken completely
i can get it to connect to witopia via 3g, no traffic in and out
turn on wifi, wont connect at all.
VPN for X10 as it stands is DOA
seems like it is a known problem even in A2.1
http://code.google.com/p/android/issues/detail?id=4706
I made a new profile on my Mikrotik Router - that allows connection without encryption - and that seems to work for now.
But my SIP does not work - getting a lot of microphone feedback - from Fring, SipDroid and other SIP clients :-(
@klarsen
How did u get pptp working ??
my X10 wont connect to my Bintec R1200 Router
My Ipod connects without problems using Wifi and my Iphone connects over UMTS. My X10 is unable to connect.
The Buildin PPTP Client is very very trashy. There are no settings for encryption exept "on/off". PPTP uses serval encryption methods. The same with the authentication. The Error Messages are such as useless.
I Tryed to switch off encryption, tryed all authentication methods (none,PAP,CHAP,MSCHAPv1 (v2) )
What i need to enter in "DNS Searchdomains" ??
But the phone says, it cant connect to my network. I Tryed it over UMTS and over the Wifi Accesspoint from my neighbour.
Why the Linux&Co Guys are not able to write an PPTP Client like one on the Iphone or in Winmobile ? Some Touchtaps and the tunnel is Up.
I had big trouble to set up a pptp tunnel on my Nokia N800 (Linux Maemo) , too.
Greetings
Chris

Has anyone tried setting up a VPN connection on their Note?

From my desktop i am using BeeVPN and would love to have my phone connection using the VPN protocol protecting my traffic on my phone as well.
So now i am hoping someone here are using either beevpn or a similar service and have setup a secure vpn on their note and would share their experience in doing so?
I've setup a VPN to my home using Windows 7's built in VPN server. I used Dyndns to sort out the physical IP address to my home (since I don't have a static IP) and then set up the port forwarding on my router to forward VPN connections to the PC I have running the VPN service.
Works like a charm (PPTP protocol being used.)
I have openvpn on my XP home machine and also on my (rooted) note. It is a bit fiddly to get the note's internet traffic routing via the home XP box - that does not happen by default on an openvpn connection, you have to set it up in the openvpn server config file. Should then be OK but unfortunately, pushing the default gateway doesn't seem to work on Android in practice. The openvpn client on the note has a workaround for this - a menu option to "fix DNS problems" which does the job after the VPN is established.
I use this method for any stuff I do on public wifi other than basic web surfing where I have no security concerns. So, banking, utilities etc. all goes over VPN. I also use it when I need to present my home IP address rather than thet of the connection I'm currently on: eg. for watching UK TV streams whilst outwith UK, and for remote access to 3rd party systems that sit behind firewalls which allow my static home IP through but nothing else).
Connecting to the VPN from public wifi/3G is very easy (once I've woken the XP box with Wake on LAN). The only real downside is that your download speed over the VPN in this configuration is limited to the UPLOAD speed of your home broadband. I get 800Kbps which is sufficient for decent video streaming (skygo/TVcatchup).
The other major benefit of VPN is that you can remotely access your home PC's and services on them via internal ip addreses without having to open up ports on your router on the WAN interface.
I've had a Vpn set up on my note for about 4 months now with no problems.
I use vpnaccounts.com as the server very easy and simple to setup.
I just wish the Vpn would work using my data connection and not just Wifi but we can't have everything!
georgios73 said:
I've had a Vpn set up on my note for about 4 months now with no problems.
I use vpnaccounts.com as the server very easy and simple to setup.
I just wish the Vpn would work using my data connection and not just Wifi but we can't have everything!
Click to expand...
Click to collapse
I'm located in Brazil and also use vpnaccounts.com on my laptop, pc, Galaxy Note and Nexus S. The server I connect to is in Dallas Tx.
I also use the 1 VPN app which gives you 1 click logon.
Everything works great!
Yes but don't you have to enter your VPN password every time you want to turn on the VPN?
I can't find a way to keep the password remembered by the device.

Categories

Resources