Difference between revisions of "IpVanish"

From ArchWiki
Jump to: navigation, search
(Download Server Configuration)
(Wrong file)
Line 23: Line 23:
 
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.
 
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
+
  # printf "USERNAME\nPASSWORD\n" > /etc/openvpn/auth
  
 
Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.
 
Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.

Revision as of 20:16, 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/auth

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