Difference between revisions of "VPNAndroid"
Line 2: | Line 2: | ||
This guide is written for a HTC Android G1/Dream phone rooted with Cyanongenmod 5. | This guide is written for a HTC Android G1/Dream phone rooted with Cyanongenmod 5. | ||
+ | [update March 24, 2011: Tested and works with Cyanogenmod 7.0 rc2] | ||
+ | |||
+ | In you Linux-based OS.. | ||
* Download the files here and save them in your /home/username/openvpn folder (where ''username'' is your main users name)(to download, right click > save as): | * Download the files here and save them in your /home/username/openvpn folder (where ''username'' is your main users name)(to download, right click > save as): | ||
Line 19: | Line 22: | ||
You should now have a certs.p12 file in your /home/username/openvpn folder, copy this certs.p12 file to the root of your sdcard on the Android phone. | You should now have a certs.p12 file in your /home/username/openvpn folder, copy this certs.p12 file to the root of your sdcard on the Android phone. | ||
− | Now on the Android phone | + | Now on the Android phone.. |
<pre><nowiki> | <pre><nowiki> |
Revision as of 21:21, 25 March 2011
VPN Client - Android
This guide is written for a HTC Android G1/Dream phone rooted with Cyanongenmod 5. [update March 24, 2011: Tested and works with Cyanogenmod 7.0 rc2]
In you Linux-based OS..
- Download the files here and save them in your /home/username/openvpn folder (where username is your main users name)(to download, right click > save as):
Then, from the terminal run
cd /home/username/openvpn openssl pkcs12 -export -in AmahiHDAClient.crt -inkey AmahiHDAClient.key -certfile ca-cert.crt -name Amahi -out certs.p12
You will be asked for a export password for the certs.p12 file - enter amahi twice.
You should now have a certs.p12 file in your /home/username/openvpn folder, copy this certs.p12 file to the root of your sdcard on the Android phone.
Now on the Android phone..
Menu -> Settings -> Location & Security -> Install from SD card
This will show you certs.p12, select this and enter the password amahi, after it has extracted the certificates, you will be asked to name the certificate, enter Amahi.
Now on the Android phone
Menu -> Settings -> Wireless & networks -> VPN settings -> Add VPN -> Add OpenVPN VPN
VPN name = Amahi
Set VPN server = yourHDAnickname.yourhda.com
User authentication = Yes
Set CA certificate - Amahi
Set user certificate - Amahi
Menu -> Advanced -> LZO compression = Yes
Back
Menu -> Save
You should now see an Amahi entry, click on this to connect, you should see that you are connected, enjoy your VPN connection to your HDA server.