SOLVED: OpenVPN & Android Jelly Bean

Antonis78
Posts: 18
Joined: Tue Jul 19, 2011 12:28 pm

SOLVED: OpenVPN & Android Jelly Bean

Postby Antonis78 » Thu Mar 28, 2013 5:06 am

Hello, everybody. I tried to connect my Nexus 4 to my hda through openvpn and I must admit, I am a bit lost. I tried to follow the wiki but the instructions are a bit outdated. I cannot find which app should I download from Google, so I downloaded the OpenVpn For Android. Next I followed the wiki instructions, uploaded the p12 file to my device and installed the certificate.

Now, here is the tricky part, I open the OpenVPN For Android app and I get a message for creating a new profile. The options I get there are not the same with the wiki and I do not know what exactly to select for it to work.

Does anyone know how to connect with application? If I cannot figure it out I will try the IPSec app but I really want to try this before I purchase another app. Furthermore, I do not know if having both OpenVpn and IPSec in my hda will create any problems.

I can provide screenshots if anyone want to try to help me with this.

Thanks

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: OpenVPN & Android Jelly Bean

Postby bsk » Thu Mar 28, 2013 7:00 am

I do not like how the wiki page for Android is written, they make it too hard. Those links for the Cert files on that page? On your Android phone, download those files to a folder that they will not get deleted (I made a specific OpenCerts/ directory on my SD Card, you will also need to wget these files or transfer them with adp, clicking on them in the android browser tries to install them to the OS). After doing that, you setup your profile just like you would on Windows or anything else.

Server Address: youruser.yourhda.com (replace "youruser" with your Amahi.org username)
Port: 1194
Under Type select: User/PW + Certificates

Then you will see a selection for each of those cert files you just downloaded, put each one in its place (ca-cert.crt goes in CA Certificate, etc).

If you have any trouble doing this do not hesitate to ask, also if you are unsure if your OpenVPN port is open on your network head on over to https://www.amahi.org/users and click on Check it now! next to the OpenVPN Tester.
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

Antonis78
Posts: 18
Joined: Tue Jul 19, 2011 12:28 pm

Re: OpenVPN & Android Jelly Bean

Postby Antonis78 » Thu Mar 28, 2013 7:15 am

Thank you so much for the answer, it worked!!!!!!!!!!!!

:D :D :D :D :D :D :D

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: OpenVPN & Android Jelly Bean

Postby bsk » Thu Mar 28, 2013 7:34 am

No problem at all. I thank you for pointing out the issues with that wiki page and I will rewrite it in the near future.

Remember do not hesitate to ask if you have any questions.
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

mfs34
Posts: 17
Joined: Thu Aug 02, 2012 10:27 am

Re: SOLVED: OpenVPN & Android Jelly Bean

Postby mfs34 » Mon May 20, 2013 1:50 pm

bsk - THANK YOU! The guides on the wiki are very confusing and I spent several hours trying to run through them with no success. I found this message board post and I had things working in two seconds.

However I feel that some of my previous configurations may have borked my install. Im running cyanogenmod 10.1 on a Samsung Galaxy S3, and from my view.... The built-into-android VPN only allows for PPTP, l2tp(psk/rsa), and IPSec. I know that Cyanogen mod 10.1 comes with OpenVPN but I suppose you hvae to use their own app, which is the only way I was able to proceed.

Now, I'm able to hit my internal web apps from my Android phone, but accessing the internet for my Android apps like gmail/pandora/Spotify will not work. I've seen on a few other forums that having internal conetivity, without the ability to ping the internet, is a somewhat common initial configuration problem. If you have any help on this subject bsk, it would be greatly appreciated!

P.S- The sooner those old VPN pages get a 'deprecated' flag slapped on them the better. Like i said, I configured my 'myvpn.conf' file per the linux guide... not sure if this is appropriate to have in my ~/ home folder:

:~$ cat myvpn.conf
remote XXXXXX.yourhda.com 1194
client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca-cert.crt
cert AmahiHDAClient.crt
key AmahiHDAClient.key
comp-lzo
verb 3
auth-user-pass

Who is online

Users browsing this forum: No registered users and 0 guests