Difference between revisions of "IpVanish"

From ArchWiki
Jump to: navigation, search
(Initial creation.)
 
(Changed header wording.)
Line 1: Line 1:
 
[[Category:Virtual Private Network]]
 
[[Category:Virtual Private Network]]
  
This article describes a basic installation and configuration of [http://ipvanish.com IpVanish] and their openvpn service.
+
This article describes a basic installation and configuration of [http://ipvanish.com IpVanish] with the openvpn package.
 +
 
  
 
== Install OpenVPN ==
 
== Install OpenVPN ==

Revision as of 20:06, 12 December 2013


This article describes a basic installation and configuration of IpVanish with the openvpn package.


Install OpenVPN

Install openvpn from the official repositories.

Get IpVanish's Certificate

You'll need IpVanish's certificate in your config directory to be able to connect to their network.

# curl http://www.ipvanish.com/software/configs/ca.ipvanish.com.crt > /etc/openvpn/ca.ipvanish.com.crt

Download Server Configuration

Choose your favorite server from IpVanish's config index and place the url into the following code. In this example, we'll do NYC.

# curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf

Automate Username and Password Credentials

If you want openvpn to remember your password. Create a file in the config directory with your username on the first line, and your password on the second.

# printf "USERNAME\nPASSWORD\n" > /etc/openvpn/client.conf

Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.

# ...
# ...
# auth-user-pass auth
# ...
# ...

Start OpenVpn

Now that openvpn is configured to use ipvanish, you can start and enable the service.

# systemctl start openvpn@client.service
# systemctl enable openvpn@client.service