Linux Install Commands
You can follow the instructions located on this page: https://github.com/trailofbits/algo/blob/master/docs/client-linux-wireguard.md
All of these commands are run in a terminal window while you are logged into our Linux computer. Remember that if you run these commands remotely you will be disconnected after you enable your VPN connection.
Add the WireGuard repository to your sources list. Apt will then automatically update the package cache.
sudo add-apt-repository ppa:wireguard/wireguard
Get all your packages updated
$ sudo apt-get update
Install WireGuard. The wireGuard package will install all necessary dependencies.
sudo apt install wireguard
The install commands below show as an example
wg0. Each separate VPN connection will need to be installed with a different
Atlanta VPN = wg0
London VPN = wg1
Newark VPN = wg2
It’s a good idea to write each of these down so when you do connect you know which one you are connecting to. Otherwise you can use a site like https://whatismyipaddress.com/ to find where you are connecting from.
You must run the command below from the directory that contains the .conf files that were taken or sent to you from the Algo VPN server. You can install multiple .conf files one after the other if you’d like.
sudo install -o root -g root -m 600 .conf /etc/wireguard/wg0.conf
Start WireGuard Service
Start WireGuard. This command must be used each time you want to start the VPN connection after you boot your computer. You will need to select the correct
wg number to make the correct VPN connection.
wg-quick up wg0
wg-quick down wg0
Check if the VPN connection started properly
sudo systemctl status [email protected]
Verify the connection to the AlgoVPN
sudo wg show
Optionally configure the VPN connection to come up at boot time. I don’t recommend this unless you know what you are doing.
sudo systemctl enable [email protected]