IMPORTANT! A BIG SECURITY UPDATE! Just upgrade your Android app or get the latest OpenVPN configuration files or update Tunnelblick configurations to prevent connection issues. Read more >>
Не работает подключение к ВПН из РФ? Как настроить

Блог Trust.Zone

Последние новости, события и специальные предложения от Trust.Zone

How to Set Up Trust.Zone WireGuard VPN for Ubuntu

1 Марта 2021

How to get the faster connection and faster speed with TrustZone VPN on Ubuntu? Use a new fastest next-generation VPN protocol - WireGuard!

It’s faster than OpenVPN or IPsec but also has a smaller codebase that is easier to audit and maintain. Ubuntu WireGuard manual differs from Windows WireGuard installation and Android WireGuard guides. In this manual, we will show you how to install TrustZone VPN connection with WireGuard protocol on Ubuntu.

WireGuard VPN Manual on Ubuntu

Step 1

Run Terminal emulator: Press Alt+F2 on the keyboard, type x-terminal-emulator and press Enter.

Step 2

Install WireGuard with the following command.
sudo apt-get install wireguard resolvconf

Step 3

Go to setup page on TrustZone, find WireGuard under Manual Setup section. Download the file to the ~/Downloads directory. See image below

Step 4

Extract the downloaded to the /etc/wireguard/ directory by running the following command:
sudo unzip ~/Downloads/ -d /etc/wireguard/

Step 5

In order to see the list of the available connections please run the following command:
sudo ls /etc/wireguard

Connect to the desired VPN connection from the list with the following command:
sudo wg-quick up

Please replace xx with a desired connection name (please do not include .conf)

For example: 
sudo wg-quick up

Step 6

In order to see the active connection please run the following command:
sudo wg show

To disconnect please run the following command:
sudo wg-quick down

Please replace xx with an active connection name

Alternative Way with Ubuntu NetworkManager

Besides, here is alternative way to install WireGuard for Ubuntu.

The instructions shows how to add support of the WireGuard VPN client into the Ubuntu NetworkManager by installing the WireGuard client for NetworkManager.

If you need to install WireGuard VPN for other OS - follow our WireGuard setup instructions


Самое популярное

5 Ways to Protect Your VPN from Getting Hacked