Astrill Setup Manual:How to configure OpenVPN with Network Manager on Linux: Difference between revisions

From Astrill Wiki
Jump to navigation Jump to search
(Created page with "1. First open '''terminal''', and use this command to '''install''' the '''OpenVPN''' Network Manager '''plugin''': '''''sudo apt-get install network-manager-openvpn openvpn'...")
 
No edit summary
Line 4: Line 4:




[[File:Linux-openvpn-client-001.jpg]]
[[File:Openvpn-linux-network-manager-001.jpg]]


----
----
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'''.
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'''.


[[File:Linux-openvpn-client-002.jpg]]
https://members.astrill.com/openvpn-certificates.php
 
 
[[File:Openvpn-linux-network-manager-002.jpg]]


----
----
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'''.
3. Open '''Astrill-ubuntu.zip''' file you just downloaded, and pick a server and extract the OVPN file (in this example 27-USA-Seattle-1.ovpn).
 
 
[[File:Openvpn-linux-network-manager-003.jpg]]
 
 
Then make 4 copies of '''27-USA-Seattle-1.ovpn''' file, and rename them and edit them accordingly:
 
Text between '''<ca></ca>''' tags goes into '''ca.crt''' file
 
Text between '''<cert></cert>''' tags goes into '''user.crt''' file
 
Text between '''<key></key>''' tags goes into '''private.key''' file
 
Text between '''<tls-auth></tls-auth>''' tags goes into '''tls.key''' file
 


[[File:Linux-openvpn-client-003.jpg]]
[[File:Openvpn-linux-network-manager-003b.jpg]]


----
----

Revision as of 22:41, 25 January 2014

1. First open terminal, and use this command to install the OpenVPN Network Manager plugin:

sudo apt-get install network-manager-openvpn openvpn


Openvpn-linux-network-manager-001.jpg


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.

https://members.astrill.com/openvpn-certificates.php


Openvpn-linux-network-manager-002.jpg


3. Open Astrill-ubuntu.zip file you just downloaded, and pick a server and extract the OVPN file (in this example 27-USA-Seattle-1.ovpn).


Openvpn-linux-network-manager-003.jpg


Then make 4 copies of 27-USA-Seattle-1.ovpn file, and rename them and edit them accordingly:

Text between <ca></ca> tags goes into ca.crt file

Text between <cert></cert> tags goes into user.crt file

Text between <key></key> tags goes into private.key file

Text between <tls-auth></tls-auth> tags goes into tls.key file


Openvpn-linux-network-manager-003b.jpg


4. By default files are downloaded to /tmp/ folder on your linux. In our case exact file location of zipped OpenVPN certificates is /tmp/Astrill-Linux-CLI-OpenVPN.zip. 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/Astrill-Linux-CLI-OpenVPN.zip

File:Linux-openvpn-client-004.jpg


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.

File:Linux-openvpn-client-005.jpg