You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > PrivadoVPN Setup Guides > Manual Setup > Linux Wireguard® Manual Setup
Linux Wireguard® Manual Setup
print icon

The WireGuard generator is only available for Premium customers. Freemium users can use Wireguard only through the PrivadoVPN app

Important: Premium account supports up to 10 connections. As a result, downloading more than 10 configuration files will deactivate older configurations, downloaded before these 10.

 

The process of installing Wireguard on a Linux system consists of three steps:

  1. Installing the Wireguard package.

  2. Generating a Wireguard configuration file.

  3. Importing the file into the Linux system.

 

1. Installing the Wireguard package.

Open the system terminal and install the Wireguard package (use the command depending on the Linux distro you are using):

Ubuntu/Debian/Mint/Kali Linux:

sudo apt update && sudo apt install wireguard

Fedora:

sudo dnf install wireguard-tools

Arch:

sudo pacman -S wireguard-tools

OpenSUSE/SLE:

sudo zypper install wireguard-tools

2. Generating a Wireguard config file.

3. Importing the file into the Linux system.

You can import the Wireguard configuration file using GUI (Graphical User Interface) and Terminal (CLI).

Method #1 - GUI (Graphical User Interface):

In the system terminal, run the following command to import the configuration file into Network Manager:

 

nmcli connection import type wireguard file /path/to/Wireguard-config/file.conf

NOTE: Replace  /path/to/Wireguard-config/file.conf  with the actual path to your Wireguard configuration file, for example  nmcli connection import type wireguard file /home/user/Downloads/privado.ist-009.conf 

After that, the WireGuard configuration file will be automatically imported into Network Manager and connected:

Method #2 - Terminal (CLI):

1. Navigate to the 'Downloads' folder and move the Wireguard config to '/etc/wireguard': 

cd ~/Downloads

 

sudo mv <config_file_name> /etc/wireguard

for example  sudo mv privado.ist-009.conf /etc/wireguard 

2. Activate the Wireguard connection (when starting the connection, you must specify only the name of the configuration file, without '.conf'):

sudo wg-quick up <config_file_name_without_'.conf'>

for example  sudo wg-quick up privado.ist-009 

 

3. Once the connection has been established, you can go to our website and check the IP and its location at the top of the page. 

 

To stop the connection, run:

 

sudo wg-quick down <config_file_name_without_'.conf'>

for example  sudo wg-quick down privado.ist-009 

 

If you have any further questions or concerns, feel free to reach out to us via our Support Form at https://support.privado.live/new.

**"WireGuard" is a registered trademark of Jason A. Donenfeld.

Feedback
3 out of 5 found this helpful

scroll to top icon