Linux
WireGuard WireGuard Nov 21, 2024

How to install WireGuard on Linux

  1. Use terminal/console to install WireGuard.
    → Ubuntu/Debian:
    sudo apt update && sudo apt install openresolv wireguard
    → Fedora:
    sudo dnf install wireguard-tools
    Using a different Linux distro? Just follow the official installation guide.

  2. Open WireGuard generator page.

  3. Click GENERATE NEW KEY and then Download to get your configuration files.

  4. Download xeovo.zip, unzip it and copy/move it to /etc/wireguard.
    sudo cp Downloads/xeovo/*.conf /etc/wireguard/

  5. Set correct permissions:
    sudo chown root:root -R /etc/wireguard && sudo chmod 600 -R /etc/wireguard

  6. Turn on WireGuard. For example we will use xeovo-fi (Finland):
    wg-quick up xeovo-fi

  7. Turn off WireGuard:
    wg-quick down xeovo-fi

  8. Start WireGuard automatically on boot:
    systemctl enable wg-quick@xeovo-fi

⚡ Warning
Do not connect to the same key from multiple devices at once. This causes unstable connections and packet loss. Always generate a unique key for each device you plan to use.


Need help?

If you run into any issues or have questions, start by checking our FAQ and Status pages. They cover most common questions.

Still stuck? Don’t worry. You can send us a ticket, but before that, check out our how to write a good ticket guide to get faster answers.