Changes

From Amahi Wiki
Jump to: navigation, search
1,811 bytes added ,  13:46, 15 June 2016
no edit summary
Below you will find a guide on how to connect your Amahi server HDA as a client to Ipvanish service VPN.<br>We are going to connect your HDA through a VPN tunnel to Ipvanish's servers. We will ssh into your HDA, show your current IP addresses Geo location and then connect to Ipvanish's servers and show the geolocation again. I will also introduce you to ways on how to check that your HDA is definitely connected by using a shell based text browser called lynx. Connecting is not a problem as such. I have yet to find a clean way to disconnect the VPN tunnel. in the last part of this tutorial we will disconnect from the VPN tunnel manually ( the hard way).
== what is Ipvanish ==
== Prerequisites ==
- This tutorial assumes that you are running your Amahi HDA headless on version 9 based on fedora 23. Installation instructions can be found here [https://wiki.amahi.org/index.php/Amahi_9_Install]<br>- you You have Openvpn server installed. ( for this tutorial we purchased the amahi app for openvpn). can be purchased here [https://www.amahi.org/apps/openvpn]<br>- Please understand that this tutorial is not perfect as closing the VPN tunnel still requires some manual work.<br>- I am currently working on a shell script that will allow you to connect , show the status of your geolocation and disconnect. == Getting your config files ==<p>You will need to browse on another computer to the location of Ipvanish's config files and decide which location config file you would like to use. please see here http://www.ipvanish.com/software/configs/<br> For this example I have used ipvanish-NL-Amsterdam-ams-a17.ovpn. You will also need the certificate file ca.ipvanish.com.crt <br><br>lets ssh into our HDA server and get these files. <br> open a terminal window using putty or for linux or mac just use terminal.<br><br> <code>ssh username@your_hda_ip_adress</code><br> replace <code>ssh username</code> with your HDA login credentials and <code>your_hda_ip_address</code> with the ip address of your HDA<br><br>After inputting your password you should be in your username folder. In this folder we are going to create a new folder where and then change directory to this folder. We will store the config files here<br><code> mkdir ipvanish </code><br><code> cd ipvanish</code>
27

edits