Changes

From Amahi Wiki
Jump to: navigation, search
1,729 bytes added ,  22:33, 7 June 2010
Initial page creation
= VPN Client - Linux ==

This guide is written for a HTC Android G1/Dream phone rooted with Cyanongenmod 5.

* 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):
** [http://dl.amahi.org/vpn/AmahiHDAClient.crt AmahiHDAClient.crt]
** [http://dl.amahi.org/vpn/AmahiHDAClient.key AmahiHDAClient.key]
** [http://dl.amahi.org/vpn/ca-cert.crt ca-cert.crt]

Then, from the terminal run

<pre><nowiki>
cd /home/username/openvpn
openssl pkcs12 -export -in AmahiHDAClient.crt -inkey AmahiHDAClient.key -certfile ca-cert.crt -name Amahi -out certs.p12
</nowiki></pre>

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

<pre><nowiki>
Menu -> Settings -> Location & Security -> Install from SD card
</nowiki></pre>

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

<pre><nowiki>
Menu -> Settings -> Wireless & networks -> VPN settings -> Add VPN -> Add OpenVPN VPN
</nowiki></pre>

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.

[[Category: VPN]]
23

edits