Skip to main content

System Requirements

WireGuird requires the following to run properly:
  • Operating System: Ubuntu 18.04+, Linux Mint 21.1+, or compatible Debian-based distribution
  • Desktop Environment: GNOME, XFCE, KDE, or any DE with system tray support
  • Root Access: Required for managing WireGuard tunnels
  • Dependencies: GTK+3, WireGuard tools, and system libraries
WireGuird controls WireGuard through wg-quick commands, which require root privileges. You’ll need to run the application with sudo or configure appropriate permissions.

Installation Methods

Choose the installation method that best suits your needs:

Post-Installation Setup

Prepare WireGuard Directory

WireGuird reads tunnel configurations from /etc/wireguard/. Ensure this directory exists with proper permissions:
sudo mkdir -p /etc/wireguard
sudo chmod 700 /etc/wireguard
The /etc/wireguard/ directory should have 700 permissions (read/write/execute for root only) to protect your VPN configuration and private keys.

Configure WireGuard

If you don’t have WireGuard configured yet:
1

Enable WireGuard Kernel Module

Ensure the WireGuard kernel module is loaded:
sudo modprobe wireguard
Verify it’s loaded:
lsmod | grep wireguard
2

Test wg-quick

Verify wg-quick is available:
wg-quick --version
This command is used by WireGuird to manage tunnels (gui/tunnels.go:232, 286).

First Launch

Launch WireGuird for the first time:
sudo wireguird
WireGuird must be run with sudo because it executes wg-quick commands that require root privileges to modify network interfaces.
Alternative Launch Methods:
  1. From Application Menu: Search for “Wireguird” in your application launcher
  2. Desktop Entry: Click the WireGuird icon if your DE auto-detected it
  3. System Tray: If “Start on Tray” is enabled, the application launches minimized

Create Desktop Launcher with sudo

To avoid typing sudo each time, create a desktop launcher:
sudo nano /usr/share/applications/wireguird.desktop
Add the following content:
[Desktop Entry]
Name=Wireguird
Comment=WireGuard VPN Manager
Exec=pkexec wireguird
Icon=/opt/wireguird/Icon/wireguard_off.png
Terminal=false
Type=Application
Categories=Network;VPN;
pkexec provides a graphical password prompt, making it easier to launch WireGuird with root privileges from the application menu.

Updating WireGuird

Check for Updates

WireGuird can automatically check for updates (configurable in Settings). When an update is available, you’ll see a notification dialog (gui/gui.go:168-201).

Manual Update

1

Download New Version

Download the latest .deb package for your Ubuntu version from the releases page.
2

Stop Running Instance

Close WireGuird and ensure it’s not running:
pkill wireguird
3

Install Update

Install the new package (it will automatically upgrade):
sudo dpkg -i ./wireguird_amd64.deb

Uninstallation

To remove WireGuird from your system:
sudo apt remove wireguird
To also remove configuration files:
sudo apt purge wireguird
Uninstalling WireGuird does not remove your WireGuard tunnel configurations in /etc/wireguard/ or the WireGuard kernel module.

Troubleshooting Installation

If you see dependency errors during installation:
sudo apt-get install -f
sudo apt update
sudo apt upgrade
This resolves missing dependencies and updates your package list.
Check if all dependencies are installed:
ldd $(which wireguird)
Look for any “not found” entries. Install missing libraries with:
sudo apt install libgtk-3-0 libayatana-appindicator3-1
Some desktop environments require additional packages for system tray support:GNOME:
sudo apt install gnome-shell-extension-appindicator
KDE Plasma: System tray support is built-in, but ensure the system tray widget is added to your panel.
If you see “Permission denied” when trying to activate tunnels:
  1. Ensure you launched WireGuird with sudo or pkexec
  2. Check /etc/wireguard/ permissions:
    ls -la /etc/wireguard/
    
  3. Verify wg-quick is executable:
    which wg-quick
    ls -la $(which wg-quick)
    

Distribution-Specific Notes

Ubuntu 22.04 LTS and Later

Ubuntu 22.04+ includes WireGuard in the default repositories with full kernel support. No additional repositories needed.

Ubuntu 18.04 LTS and 20.04 LTS

WireGuard is available but may require backports:
sudo apt install linux-headers-$(uname -r)
sudo apt install wireguard

Linux Mint 21.1

Linux Mint 21.1 is based on Ubuntu 22.04 LTS and has full WireGuard support out of the box.

Next Steps

Quick Start Guide

Now that WireGuird is installed, learn how to add your first tunnel and connect to a VPN in under 5 minutes.

Build docs developers (and LLMs) love