Astrill Setup Manual:How to configure OpenVPN with OpenVPN client on Linux

From Astrill Wiki
Jump to navigation Jump to search

Step 1

Install an OpenVPN client for Linux, open Terminal and type in sudo apt-get install openvpn (This command sudo apt-get install openvpn is for Ubuntu/Debian. If you have Fedora/CentOS/RedHat, then use this command, sudo yum install openvpn). Type in your password to begin installation. Test that OpenVPN has been installed, type in openvpn --version.

N.linux ovpn1.jpg

Step 2

Login to Members area, and create and download a certificate for OpenVPN with configuration files. Click on Members, login to your account, then click VPN Services, and then click on OpenVPN certificates generation.

N.linux ovpn2.jpg

Step 3

Under Add new certificate, for Description type in Linux-CLI-OpenVPN, and then click on Add to my certificates button. Once your certificate has been created, click on Download button to download the OpenVPN configuration files.

N.linux ovpn3.jpg

Step 4

By default files are downloaded to /tmp/ folder on your linux. In our case exact file location of zipped OpenVPN certificates is /tmp/ I have created a new folder on Desktop, called Astrill-OpenVPN, exact location is /root/jovica/Desktop/Astrill-OpenVPN, I change current location to that directory. To unzip OpenVPN certificates, type in unzip /tmp/

N.linux ovpn4.jpg

Step 5

Run the OpenVPN client with the downloaded client config file. You can use any VP server, type in sudo openvpn --config 01-USA-Dallas-1.ovpn. If you see Initialization Sequence Completed, that means you are successfully connected to Astrill OpenVPN.

N.linux ovpn5.jpg