• Our hottest-selling 5-year plan at 89% off is ending tonight at 11:59 PM.

  • Upgrade my plan now ** Few Hours Left **

Don’t miss this last call! We’re saying good-bye to our 89% off hottest selling 5-year plan tonight. Upgrade now!  

Setup Wireguard on Linux

Sep 30, 2022
Sep 30, 2022
Download PDF
If you’re not seeing the updated member area just yet, don’t worry – it’s coming soon.

We are excited to tell you that we have added Wireguard support to our manual configuration. Now users can connect Wireguard by setting up the VPN manually. As majority of users prefer setting up Wireguard because of its encryption and speed so that is why PureVPN decided to launch Wireguard support.

To setup Wireguard configuration for Ubunutu 21.04 and above version is required and for Fedora 35 and above version is required.

Wondering how you set it up? Follow the instructions below 👇 

Connect Wireguard on Linux
  • Go to the Terminal window and type following commands one by one in order to install the required packages:
1. sudo bash
2. sudo apt-get update
3. sudo apt-get install wireguard
  • Run the following command to create the Wireguard VPN connection.
sudo nano /etc/wireguard/wg0.conf
  • Once the file is downloaded, You’ll need to download the wireguard configuration file and click ‘Copy to clipboard’ (See the steps below to get the Wireguard configuration file).
  • The next step is to go to your vpn profile, paste the content there. 
  • Hit Save and close the profile.
  • To activate the Wireguard VPN connection run the following command.
sudo wg-quick up wg0
  • To disconnect the Wireguard connection you may proceed to run the following command.
sudo wg-quick down wg0
Download Wireguard Configuration File
  • Login to the PureVPN member area account
We recommend you to first setup the Wireguard configuration and then download the Wireguard configuration file by following the below steps.
  • Go to the Subscriptions tab.
  • Scroll down to find Get Wireguard Configuration
  • A pop-up window will appear asking you to select the required information. The information contains the following:
    Select Country: To which location you want to connect to?
    Select City: To which city you want to connect from that country?
    Select Device: On which device you want to connect?
  • After entering the details you will be able to see the option to download or copy to clipboard the configuration file.
Please make sure to copy the file and activate the connection within 2 minutes once the profile is downloaded, otherwise the configuration will expire and you will have to redownload a fresh configuration file.

How helpful did you find this answer?

Comments (0 )