WireGuard using NetworkManager Setup Guide (2024)

WireGuard support was added to NetworkManager in v1.16. This guide was created with NetworkManager v1.20.4-1 on Manjaro with KDE and verified on openSUSE Tumbleweed with KDE with NetworkManager v1.18.2-1.1. Generally, KDE’s implementation of NetworkManager supports WireGuard, though other desktop environments might not.

Configure your environment

  1. Install WireGuard for your distribution.

    Install additional packages for Debian/Ubuntu/Mint:

    $ sudo apt install resolvconf curl
  2. Generate your private and public keys and store them in a safe place.

    $ cd ~$ mkdir wireguard$ cd wireguard$ wg genkey | tee privatekey | wg pubkey > publickey$ chmod 600 privatekey$ cat privatekeyabcdefghijklmnopqrstuvwxyz0123456789=$ cat publickey9876543210zyxwvutsrqponmlkjihgfedcba=

    Note: The keys above are examples only.

Setup WireGuard to use IVPN

  1. Log in to the IVPN Account Area.

  2. From the Account page, click the WireGuard tab. Go to WireGuard Key Management located under Tools. Click the Add New Key button. Copy the contents of the public key file and paste them into the Public Key: field. Add a comment, like Linux if you prefer, and click the Add Key button.

    Be sure to copy the PUBLIC key and not the PRIVATE key. The PRIVATE key must always be kept a carefully guarded secret.

  3. Make note of the IP Address beside your newly added public key on the WireGuard tab in the Account Area. This is the IP address your computer system will have on our internal network. It will be in the form 172.x.y.z.

  4. Open the NetworkManager Configure network connections window. This is often available via an icon in the system tray near the clock, though each Linux distribution may be different.

  5. Click the + to add a new connection. Select WireGuard from the list, then click the Create button.

  6. The Connection name: field should reflect the server location and will be used as the network interface name. Alphanumeric characters and dashes may be good choices, which easily reflect the names of our servers (ie. ca1, de1, us-ga1).

    Enter your private key in the Private Key: field on the WireGuard Interface tab.

    WireGuard using NetworkManager Setup Guide (1)

  7. Click the Peers... button on the WireGuard Interface tab and add the following:

    Public key: = WireGuard server public key available on the WireGuard Server List page in the Account Area
    Allowed IPs: = 0.0.0.0/0
    Endpoint address: = WireGuard server address available on the WireGuard Server List page in the Account Area
    Endpoint port: = choose one of the ports we offer: 53, 80, 443, 1194, 2049, 2050, 30587, 41893, 48574, 58237

    Click OK.

    WireGuard using NetworkManager Setup Guide (2)

  8. On the IPv4 tab, set Method: to Manual. The DNS server can be one of three options:

    172.16.0.1 = regular DNS with no blocking
    10.0.254.2 = standard AntiTracker to block advertising and malware domains
    10.0.254.3 = Hardcore Mode AntiTracker to also block Google and Facebook domains

    Click the + Add button to add the IP address we have assigned your account in step 3 above. The Netmask is 255.255.255.255 and the Gateway is 0.0.0.0.

    WireGuard using NetworkManager Setup Guide (3)

  9. On the IPv6 tab, set Method: to Ignored.

  10. Click the Save button.

Connecting and Disconnecting

  1. To connect, click the NetworkManager icon in the system tray and click Connect beside the newly created WireGuard connection.

  2. Check the connection status.

    WireGuard using NetworkManager Setup Guide (4)

  3. Check https://www.dnsleaktest.com to verify the IP address your traffic is coming from (and that there are no leaks).

  4. To disconnect, click the NetworkManager icon in the system tray and click the Disconnect button next to the active connection.

    WireGuard using NetworkManager Setup Guide (5)

Spotted a mistake or have an idea on how to improve this page?
Suggest an edit on GitHub.

WireGuard using NetworkManager Setup Guide (2024)
Top Articles
WebRTC Technology in Broadcasting: Advantages and Disadvantages
This Is How To Survive and Thrive Working A 12-Hour Shift | Girl With Drive
Moana Nail Salon Katy Tx
Herbalism Guide Tbc
Ticket To Paradise Showtimes Near Apple Cinemas Waterbury
The Surprising Power of a Smile
Walmart Academy Core Test Questions And Answers
Jiffy Lube D'iberville Reviews
Je voudrai ou Je voudrais - Apprends Francais
Muncie – Travel guide at Wikivoyage
Katinakay Leaks
Oldeuboi Showtimes Near Marcus Ronnie's Cinema
Transcripts - University of Phoenix
30 Chinese New Year Recipes That Will Bring You Good Fortune This Year
Csg Mill Hall
What Is The Best Center Build In 2K23
Closest Dollar Tree Store To My Location
Craigslist Houston Texas Com
Caesars Credit Card Comenity
Theophylline: MedlinePlus Drug Information
Days Calculator 📅 (Days Between Dates)
Newcardapply.com/21978
Baptist Primary Care Lakewood
Renfield Showtimes Near Marquee Cinemas - Wakefield 12
Teachers Bulge
Studentvue Stockton Ca
Yakamein (New Orleans Noodle Soup) Recipe on Food52
Where To Buy Patti Labelle Sweet Potato Pie - PieProNation.com
Fake Snaps Summer
Sinfuldeeds Legit Married Italian
Fredericksburg Free Lance Star Obituaries
I made dyes actually reasonably obtainable
Warfare Personified Crossword Clue
Dental Injuries 14420
Www.patientnotebook/Rpa
Amazon Ups Drop Off Locations Near Me
Winston Salem Nc Craigslist
Funeral Questions and Answers
Alcon National Driving Center Inc
History of Lewiston | Lewiston, ME
Mlm Urban Meaning
Yonajilboobsr
Maragough28
The Whale Showtimes Near Cinépolis Vista
Milestat 2023
Craigslist Placer County
Grossest Cyst Removal Youtube
Meet The Parents Putlocker
Drumlin Farm Birthday Party
Worldfree4U Movies In
Bank Account Verification - Datanamix
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 5880

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.