Difference between revisions of "IpVanish"

From ArchWiki
Jump to: navigation, search
(Woops, too many lines.)
(Download Server Configuration)
Line 15: Line 15:
 
== Download Server Configuration ==
 
== Download Server Configuration ==
  
Choose your favorite server from IpVanish's [http://www.ipvanish.com/software/configs/ config index] and place the url into the following code. In this example, we'll do NYC.
+
Choose your favorite server from IpVanish's [http://www.ipvanish.com/software/configs/ config index] and place the url into the following code. In this example, we'll use NYC.
  
 
  # curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf
 
  # curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf

Revision as of 20:07, 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 use 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