Difference between revisions of "Ipvanish VPN"

From Amahi Wiki
Jump to: navigation, search
m
Line 1: Line 1:
Below you will find a guide on how to connect your Amahi server HDA to Ipvanish service
+
Below you will find a guide on how to connect your Amahi server HDA as a client to Ipvanish 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 ==
 
== what is Ipvanish ==
Line 5: Line 6:
  
 
== Prerequisites ==
 
== Prerequisites ==
- This tutorial assumes that you are running your Amahi HDA on version 9 based on fedora 23. Installation instructions can be found here [https://wiki.amahi.org/index.php/Amahi_9_Install]
+
- 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 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>- 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>

Revision as of 13:46, 15 June 2016

Below you will find a guide on how to connect your Amahi server HDA as a client to Ipvanish VPN.
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

Ipvanish is a service that allows you to connect through a secure VPN tunnel and change your locations IP address. this is in particular useful if you need to browse something that is not accessible for your country location. read more about IPvanish here [1]

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 [2]
- You have Openvpn server installed. ( for this tutorial we purchased the amahi app for openvpn). can be purchased here [3]
- Please understand that this tutorial is not perfect as closing the VPN tunnel still requires some manual work.
- 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

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/
For this example I have used ipvanish-NL-Amsterdam-ams-a17.ovpn. You will also need the certificate file ca.ipvanish.com.crt

lets ssh into our HDA server and get these files.
open a terminal window using putty or for linux or mac just use terminal.

ssh username@your_hda_ip_adress
replace ssh username with your HDA login credentials and your_hda_ip_address with the ip address of your HDA

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
mkdir ipvanish
cd ipvanish