Difference between revisions of "Astrill Setup Manual:How to setup WireGuard on Linux"

From Astrill Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
Open Terminal on your Linux OS and run following command to install WireGuard: sudo apt install wireguard
 
Open Terminal on your Linux OS and run following command to install WireGuard: sudo apt install wireguard
 +
 +
[[File:Wireguard-linux-1.png|border]]
 +
 +
[[File:Wireguard-linux-2.png|border]]
  
 
=='''STEP 2'''==
 
=='''STEP 2'''==
Line 16: Line 20:
  
 
=='''STEP 5'''==
 
=='''STEP 5'''==
 +
 +
Now open Terminal again and run following command to activate WireGuard: wg-quick up Downloads/wg0.conf
 +
 +
In that above command "Downloads" is the location where you downloaded WireGuard .conf file and "wg0.conf" is the name of downloaded file.
 +
 +
[[File:Wireguard-linux-3.png|border]]
 +
 +
=='''STEP 6'''==
 +
 +
After activating WireGuard open following link in browser to check if WireGuard is connected or not: https://www.astrill.com/what-is-my-ip
 +
 +
[[File:Wireguard-windows-4.png|border]]
 +
 +
If you see your IP changed, you're good to go.
 +
 +
'''NOTE''': To disconnect/deactivate WireGuard run following command in terminal: wg-quick down Downloads/wg0.conf
 +
 +
[[File:Wireguard-linux-4.png|border]]

Latest revision as of 15:40, 24 June 2020

STEP 1

Open Terminal on your Linux OS and run following command to install WireGuard: sudo apt install wireguard

Wireguard-linux-1.png

Wireguard-linux-2.png

STEP 2

Login your Astrill account on Astrill website: https://www.astrill.com/member-zone/log-in

STEP 3

After login, go to "VPN Services" tab and then go to "WireGuard configurations".

STEP 4

Now generate WireGuard configuration file for your desired server and download it.

STEP 5

Now open Terminal again and run following command to activate WireGuard: wg-quick up Downloads/wg0.conf

In that above command "Downloads" is the location where you downloaded WireGuard .conf file and "wg0.conf" is the name of downloaded file.

Wireguard-linux-3.png

STEP 6

After activating WireGuard open following link in browser to check if WireGuard is connected or not: https://www.astrill.com/what-is-my-ip

Wireguard-windows-4.png

If you see your IP changed, you're good to go.

NOTE: To disconnect/deactivate WireGuard run following command in terminal: wg-quick down Downloads/wg0.conf

Wireguard-linux-4.png