How to use WireGuard on Linux | Proton (2024)

WireGuard® is a fast, lightweight, and secure VPN protocol.

Learn more about WireGuard

Our GUI app for Linux offers both OpenVPN and WireGuard VPN protocols along with a built-in kill switch.

WireGuard is available on app version v4.4.4 and later.

How to connect with WireGuard on Linux

1. Openthe Proton VPN app, open the dropdown menu and select Settings.

How to use WireGuard on Linux | Proton (1)

2. In Settings window, scroll down to Connection section and select WireGuard in the Protocol selection.
This setting will be applied from the next connection.

How to use WireGuard on Linux | Proton (2)

How to manually configure Wireguard

It’s also possible to manually configure WireGuard on Linux using third-party clients. In this guide, we’ll show you how to configure WireGuard on any Linux distribution using the official WireGuard(new window) CLI tool for Linux, and on Debian and Ubuntu-based systems using NetworkManager.

  • WireGuard CLI
  • NetworkManager

An advantage of manually configuring WireGuard on Linux is that our WireGuard config files support port forwarding.

How to manually configure WireGuard on Linux

1. Install(new window) the official WireGuard VPN CLI tool for your distribution.

2. Sign in to account.protonvpn.com, go to DownloadsWireGuard configuration, and download a WireGuard configuration file. Note that WireGuard can be picky about the length of .conf names, so please ensure the the downloaded .conf file name is under 15 characters (you may need to rename the default suggested name to achieve this).

Learn how to download a WireGuard configuration file from Proton VPN

3. Move the downloaded .conf configuration file to the /etc/wireguard/ directory.

4. In a terminal window, enter:

sudo wg-quick up [the name of the configuration file, excluding the .conf suffix]

For example, if your configuration file is named swiss1-CH-5.conf, enter:

sudo wg-quick up swiss1-CH-5
How to use WireGuard on Linux | Proton (3)

Your privacy is now protected by Proton VPN! To verify that the connection is running, enter:

sudo wg

You can also visit ip.me(new window) to confirm that everything is working correctly.

How to use WireGuard on Linux | Proton (4)

To end the VPN session, enter:

sudo wg-quick down [the name of the configuration file, excluding the .conf suffix]

For example:

sudo wg-quick down swiss1-CH-5

How to use WireGuard with NetworkManager on Ubuntu

This guide was created on Ubuntu 20.04 LTS, but should work on most Debian and Ubuntu-based distros.

1. Open a terminal window from your Home directory and install WireGuard using the following command:

sudo apt install wireguard git dh-autoreconf libglib2.0-dev intltool build-essential libgtk-3-dev libnma-dev libsecret-1-dev network-manager-dev resolvconf

2. Sign in to account.protonvpn.com, go to DownloadsWireGuard configuration, and download a WireGuard configuration file.

Learn how to download a WireGuard configuration file from Proton VPN

3. Clone the NetworkManager plugin from GitHub, compile, and install it using the following commands:

git clone https://github.com/max-moser/network-manager-wireguard
cd network-manager-wireguard
./autogen.sh --without-libnm-glib
./configure --without-libnm-glib --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/NetworkManager --localstatedir=/var
make
sudo make install

4. Open NetworkManagerVPN+.

How to use WireGuard on Linux | Proton (5)

5. If the WireGuard option is not available, restart your computer and try again. If it is, select Import from file…

How to use WireGuard on Linux | Proton (6)

6. Locate the .conf configuration file you downloaded in step 2 using your file manager and click Add.

How to use WireGuard on Linux | Proton (7)

7. Configuration is now complete. In NetworkManager, simply toggle the VPN switch next to the WireGuard connection you just created to on.

How to use WireGuard on Linux | Proton (8)

You are now connected to ProtonVPN using the WireGuard protocol. Visit ip.me(new window) to confirm that the VPN connection is working correctly.

How to use WireGuard on Linux | Proton (9)
How to use WireGuard on Linux | Proton (2024)
Top Articles
Basel IV - What Is It, Explained, Examples, Effects, Vs Basel III
Pro Billiard Series
Omega Pizza-Roast Beef -Seafood Middleton Menu
Foxy Roxxie Coomer
Chris Provost Daughter Addie
Bashas Elearning
Craigslist Campers Greenville Sc
Manhattan Prep Lsat Forum
Voordelige mode in topkwaliteit shoppen
Gabriel Kuhn Y Daniel Perry Video
Chase Bank Operating Hours
7543460065
Nestle Paystub
World of White Sturgeon Caviar: Origins, Taste & Culinary Uses
Top Hat Trailer Wiring Diagram
Aktuelle Fahrzeuge von Autohaus Schlögl GmbH & Co. KG in Traunreut
Gwdonate Org
Michael Shaara Books In Order - Books In Order
Moviesda3.Com
Paradise leaked: An analysis of offshore data leaks
SF bay area cars & trucks "chevrolet 50" - craigslist
Closest Bj Near Me
How your diet could help combat climate change in 2019 | CNN
Providence Medical Group-West Hills Primary Care
A Cup of Cozy – Podcast
Happy Homebodies Breakup
Rogue Lineage Uber Titles
2023 Ford Bronco Raptor for sale - Dallas, TX - craigslist
Medline Industries, LP hiring Warehouse Operator - Salt Lake City in Salt Lake City, UT | LinkedIn
By.association.only - Watsonville - Book Online - Prices, Reviews, Photos
Srjc.book Store
Vlacs Maestro Login
JD Power's top airlines in 2024, ranked - The Points Guy
Roto-Rooter Plumbing and Drain Service hiring General Manager in Cincinnati Metropolitan Area | LinkedIn
Muma Eric Rice San Mateo
Imperialism Flocabulary Quiz Answers
Acadis Portal Missouri
Pokemon Reborn Locations
Captain Billy's Whiz Bang, Vol 1, No. 11, August, 1920
America's Magazine of Wit, Humor and Filosophy
Adam Bartley Net Worth
Doordash Promo Code Generator
Dcilottery Login
Clima De 10 Días Para 60120
Firestone Batteries Prices
Joey Gentile Lpsg
Mychart Mercy Health Paducah
Sinai Sdn 2023
Mit diesen geheimen Codes verständigen sich Crew-Mitglieder
Craigslist Anc Ak
Westport gun shops close after confusion over governor's 'essential' business list
Julies Freebies Instant Win
Texas 4A Baseball
Latest Posts
Article information

Author: Aron Pacocha

Last Updated:

Views: 6653

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Aron Pacocha

Birthday: 1999-08-12

Address: 3808 Moen Corner, Gorczanyport, FL 67364-2074

Phone: +393457723392

Job: Retail Consultant

Hobby: Jewelry making, Cooking, Gaming, Reading, Juggling, Cabaret, Origami

Introduction: My name is Aron Pacocha, I am a happy, tasty, innocent, proud, talented, courageous, magnificent person who loves writing and wants to share my knowledge and understanding with you.