All Collections
Linux Setup Guides
Debian-based
WireGuard Installation Guide for Ubuntu Linux
WireGuard Installation Guide for Ubuntu Linux
Richard avatar
Written by Richard
Updated over a week ago

Step 1

Login to website client page: https://privatevpn.com/account/login


Step 2

Proceed to Control Panel: https://privatevpn.com/control-panel


Step 3

Select your preferred VPN location.


for this guide, we will select a Sweden-based server. Click Generate Config.


Step 4

Your WireGuard login will be generated below. Click the download button.


Step 5

Proceed to Terminal.


Step 6

In the Terminal, enter this line: sudo apt install wireguard


Enter Y to Proceed.


Step 7

To connect, enter: sudo wg-quick up [path of the configuration file]


Connected!


To check if the VPN tunnel is running, enter the following command: wg show
To disconnect on the VPN, enter: sudo wg-quick down [path of the configuration file]

Did this answer your question?