How to connect to Algo VPN from Android, iOS, Linux and Windows

Algo VPN is a set of scripts to help you deploy your own Virtual Private Network (VPN) on a rented Virtual Private Server (VPS).

Setting up Algo VPN is easy, but how do you connect to the most popular desktop and mobile clients?

Connecting to Algo VPN is easy!

Login to your VPS with

ssh -Y username@vps.ip.address

That -Y Switch is important because later you will be viewing images in the terminal.

If you followed our tutorial on deploying Algo VPN on your VPS, you should already have a user list. Unlike commercial VPNs, which give you a username and password that you can use to log in and use your VPN with a client on any computer, Algo requires that every device it’s used on be a new user . Your laptop is a user, your phone is a user, and each device needs to be added to a configuration file on your VPS.

Remember to use descriptive names to avoid confusion. For example, the user “Laptop” is great if there’s only one laptop using Algo, but it’s practically useless if there’s multiple with multiple laptops.

Algo generates configuration files and certificates in the configurations Directory within the algo master directory.

ls algo-master/configs/

This allows you to view the content.

There is also a subdirectory with the IP address of your VPS and in it another folder called “wireguard”.

ls algo-master/configs/your.vps.ip.address/wireguard/

You will see that in addition to .conf files, there are also corresponding image files with a PNG extension.

In order to be able to display these image files in the terminal of your local computer, you need additional software.

sudo apt install imagemagick

WireGuard is at the heart of Algo VPN, so you connect to Algo VPN the same way you connect to WireGuard.

How to connect to Algo VPN on iPhone and Android

The official WireGuard app is available for download in the Apple App Store and Google Play Store as well as F-Droid. WireGuard is completely free and open source. Download and install it on your mobile device as usual. Then open it by clicking on the icon.

Click on the little blue + at the bottom of the screen and select Scan from QR code.

Meanwhile on your VPS:

display algo-master/configs/your.vps.ip.address/wireguard/laptop.png

This will display the QR code.

Point your phone camera at the QR code and the configuration for your Algo VPN will be added to the WireGuard app.

You’ll be prompted to name your new tunnel, so choose a memorable name. You can enable it by clicking the switch.

How to use Algo VPN on desktop

You can connect to your VPN on all desktop devices; However, it’s not practical to scan a QR code on a PC – especially if you use that PC for SSH connections with your VPS! Instead, you need to copy the .conf files from the VPS to the computer you want to use Algo VPN with.

Use either PuTTY or a terminal:

scp username@vps.ip.address:algo-master/configs/your.vps.ip.address/wireguard/laptop.conf .

transfers the laptop configuration file to your current directory.

Connect to Algo VPN on macOS, Windows or Linux

The official WireGuard client is also available for Windows, macOS (Mojave and above), and a variety of Linux distributions. Just download and install the correct version of official WireGuard download page and open.

Click on the WireGuard icon, select Import tunnel from file and select the correct conf file.

You can now connect to your own personal VPN on all your devices!

Whether you prefer Windows, macOS, or Linux, you’ve learned how to keep your desktop and mobile traffic safe from prying eyes. Algo VPN protects your activity from your ISP and mobile operator, giving you peace of mind to continue with your normal online activities.

About Willie Ash

Check Also

How to install Docker on Ubuntu

Docker is a container platform that allows you to build containers on Ubuntu or other …