Skip to main content

WireGuard Installation Guide for Ubuntu Linux

Updated yesterday

Step 1

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


Step 2

Proceed to WireGuard configurations panel and then select your preferred Server location.

Optional: You may enter a name for the configuration.

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


Step 3

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


Step 4

Proceed to Terminal.


Step 5

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


Enter Y to Proceed.


Step 6

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


Connection Success!


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?