Setting up WireGuard on Linux

A step-by-step guide on how to set up WireGuard on Linux to connect to VPN MAX

WireGuard installation

The Linux operating systems install WireGuard using the command line (Terminal, Console). Specific commands differ depending on the Linux version.

Ubuntu and Debian

sudo apt update

sudo apt install wireguard

Users of Debian Bullseye and above need to enable backports.

Bunsenlabs (Debian):

1. Log in to your profile on VPN MAX website, go to Servers, and download the configuration file for the country you need. If you are planning to use several devices you will need a separate configuration file for each device.


2. Install VPN MAX to your device using the ‘sudo apt-get install vpn-max network-manager-openvpn-gnome’ command.


3. Then, enter the ‘sudo service network-manager restart’ command.


4. Work the downloaded .CONFIG configuration file using the ‘sudo openvpn [file name]’ command.

5. Launch VPN MAX using ‘sudo nm-connection-editor’ and click Add. Or click the network setup icon in the taskbar and click Select VPN connection –> Configure VPN.

6. Now you will need to select the saved configuration file and fill out the login/password fields using the information given to you by the bot together with the configuration file.

 

Linux Mint 19 and newer

sudo add-apt-repository ppa:wireguard/wireguard

sudo apt-get update

sudo apt-get install wireguard

Connecting WireGuard

  1. Save the .conf configuration file at /etc/wireguard/wg0-client.conf or copy its contents and save it at /etc/wireguard/wg0-client.conf.

  2. Launch WireGuard by typing

wg-quick up wg0-client

All done, you are connected to the VPN.

7. You can confirm that your IP address and geopositioning has changed at https://ipaddress.my.