wg-easy vs PiVPN: which WireGuard server for home

wg-easy is WireGuard and a web page in one container, so devices are added in a browser. PiVPN is a script for Raspberry Pi, Debian and Ubuntu that installs WireGuard or OpenVPN into the system and leaves you a pivpn command. On a new server with Docker, take wg-easy. PiVPN suits people who need OpenVPN, don't want Docker, or own an armv6 or armv7 board. It has been maintained on a best-effort basis since April 2024, but it isn't archived.

Updated

WireGuard config: server and clients with QR, AmneziaWG up to 3.1, keys
On this page

Which one to take

  • Adding devices from a phone, no terminal

    Takewg-easy

    WhyA web page with a QR code, a file and a one-time link

  • An old board or a 32-bit system

    TakePiVPN

    Whywg-easy 15 runs on x86_64 and arm64 only

  • OpenVPN next to WireGuard

    TakePiVPN

    WhyInstalls both; wg-easy has WireGuard and experimental AmneziaWG

  • No containers, please

    TakePiVPN

    Whywg-easy doesn't run without Docker or Podman yet

  • A guest for a week

    Takewg-easy

    WhyA device can have an expiry date

  • Pi-hole is already on the board

    TakePiVPN

    WhyThe installer finds it and offers it as DNS

  • Your provider puts you behind CGNAT

    Takeneither

    WhyBoth are reached from outside and need a public address

Side by side

Versions and prices change. Everything in the table was checked on December 1, 2026 against the sources at the end of the page.

  • What it is

    wg-easyWireGuard server and its web page in one container
    PiVPNShell scripts that set up a WireGuard or OpenVPN server
  • Core

    wg-easyWireGuard of the host's kernel; the AmneziaWG module as an experiment
    PiVPNWireGuard or OpenVPN from the system's packages
  • Protocols

    wg-easyWireGuard; AmneziaWG as an experiment
    PiVPNWireGuard, OpenVPN; both at once are possible
  • Getting links out

    wg-easy.conf file, QR code, one-time link
    PiVPN.conf or .ovpn file, for WireGuard a QR code in the terminal
  • Server

    wg-easyYour own: Linux with Docker or Podman, x86_64 or arm64
    PiVPNYour own: Raspberry Pi OS, Debian, Ubuntu, DietPi or Alpine
  • Users and limits

    wg-easyDevices: expiry date, on and off, firewall by address, traffic charts
    PiVPNProfiles: add, list, remove; in WireGuard also off and on
  • Where data is kept

    wg-easySQLite, /etc/wireguard/wg-easy.db
    PiVPNFiles: /etc/wireguard and configs in the home folder
  • Installation

    wg-easyDocker Compose, then a setup wizard in the browser
    PiVPNOne command in the terminal, then questions
  • API and bots

    wg-easyREST API with the login and password, undocumented yet; Prometheus metrics
    PiVPNNone, only the pivpn command
  • Who controls the network

    wg-easyYours: the web page on the server
    PiVPNYours: the pivpn command on the server
  • DNS

    wg-easy1.1.1.1 in a new device's file, can be changed
    PiVPNAsked during setup: Quad9 is preselected, Pi-hole if it is found
  • Interface

    wg-easyWeb page, login with 2FA or OAuth; commands inside the container
    PiVPNCommand line only
  • Code

    wg-easyAGPL-3.0
    PiVPNMIT
  • Latest version

    wg-easy15.5.0, October 24, 2026
    PiVPN4.11.1, September 13, 2025
  • State of the project

    PiVPNMaintained on a best-effort basis since April 2024; last commit to master, 7 November 2025. The repository isn't archived (1 December 2026)
  • Where to get it

  • Systems

    Both: Linux server

  • How traffic goes

    Both: Every device goes to your server

  • Exit to the internet

    Both: The server itself: by default all traffic goes through it

  • Free plan

    Both: None, you pay only for the server

  • Price

    Both: Free

A web page versus a shell command

With wg-easy you work on a page. Press “New”, type a name, add an expiry date if you like, and the device gets “Show QR Code”, “Download Configuration” and a short one-time link. The same list shows who is connected and how much they used. Settings sit in a database inside the container's volume, while WireGuard itself comes from the host's kernel. If the module is missing, the log says Cannot find device "wg0", and the docs suggest sudo modprobe wireguard.

PiVPN leaves behind a regular WireGuard, some files and a set of scripts. pivpn add asks for a name and drops a .conf into the configs folder, pivpn -qr draws a QR code in the terminal, pivpn -off and pivpn -on switch a device off and on, and pivpn -c lists who is connected. The command list has nothing for expiry dates or per-address limits.

Updates go different ways too. For wg-easy you fetch a new image: sudo docker compose pull, then sudo docker compose up -d in its folder, and the docs offer Watchtower for doing it automatically. On a PiVPN box the package manager updates WireGuard, and pivpn -up only refreshes the scripts.

Is PiVPN still alive

On 5 April 2024 release 4.6.0 came out titled “The end”. The maintainer of the time said goodbye, called it the final official release and announced that the repositories would be archived. On 13 April, in the notes for 4.6.1, the second maintainer wrote otherwise: PiVPN stays, he will keep the scripts working on future systems as time allows, and large features will need someone's pull request.

Releases went on up to 4.11.1 on 13 September 2025, adding Debian 13, Pi-hole v6 and per-client tls-crypt keys for OpenVPN. The last commit to master is dated 7 November 2025. As of 1 December 2026 the repository is open and its README carries a note about best-effort maintenance. A working server doesn't have to be torn down for that, because WireGuard is updated with the system. wg-easy's latest, 15.5.0, is from 24 October 2026.

Moving: every device gets a new file

The wg-easy wizard only accepts the wg0.json of an older wg-easy, and PiVPN restores only its own archive. The server key will be new, so the old .conf files stop connecting.

  1. 1

    List the devices

    pivpn -l in PiVPN, the page in wg-easy. pivpn -bk makes a PiVPN backup in the pivpnbackup folder.

  2. 2

    Free the port

    Both listen on UDP 51820 by default. On the same machine remove PiVPN with pivpn uninstall, and not while connected through that VPN.

  3. 3

    Install wg-easy

    The commands are below. The panel is on port 51821: the wizard asks for an admin name and password, whether you have an existing setup, then the host and the port.

  4. 4

    Hand out new QR codes

    Inside, the network becomes 10.8.0.0/24. PiVPN uses another one, often 10.19.17.0/24, so fix rules and bookmarks with the old addresses.

  5. 5

    Back to PiVPN

    Run sudo docker compose down in the wg-easy folder, then the installer

    Terminal
    curl -L https://install.pivpn.io | bash

    Choose WireGuard and run pivpn add for each device.

Server: install wg-easy
sudo mkdir -p /etc/docker/containers/wg-easy
sudo curl -o /etc/docker/containers/wg-easy/docker-compose.yml https://raw.githubusercontent.com/wg-easy/wg-easy/master/docker-compose.yml
cd /etc/docker/containers/wg-easy
sudo docker compose up -d
PiVPN on a new machine: restore the archive
sudo cp -r /etc/wireguard /etc/new_wireguard_backup
tar xzpfv <archive name>
sudo cp -r etc/wireguard /etc
sudo systemctl restart wg-quick@wg0

etc/ without the leading slash is the folder from the archive, not the system one.

Things that trip people up

  • The latest tag of wg-easy points at version 14. Use ghcr.io/wg-easy/wg-easy:15.
  • There is no in-place upgrade from 14 to 15: press Backup, keep wg0.json, start a new container and give the file to the wizard.
  • The panel refuses plain HTTP unless INSECURE=true is set. The docs call that insecure and point to a reverse proxy with HTTPS.
  • “Allowed IPs” in wg-easy only tells the device what to route. To forbid something on the server you turn on “Enable Per-Client Firewall”, which is still experimental.
  • Start and stop wg-easy with up and down. The authors ask not to use start and stop.
  • Test PiVPN from mobile data: from inside your home many routers can't do it. Connected, but pages don't load? Lower the MTU from 1420 in steps of 10.
  • If the network recognises WireGuard, wg-easy has experimental AmneziaWG, but the host needs its kernel module. Without it wg-easy falls back to plain WireGuard.

Sources

How we write and check

Questions

Does wg-easy run on a Raspberry Pi?

Yes, on a 64-bit system (arm64). Version 15 doesn't run on armv6 or armv7.

How do I reset the wg-easy password?

In the container's folder: docker compose exec -it wg-easy cli db:admin:reset. It asks for a new one.

Does PiVPN have a web interface?

No, only the pivpn command in a terminal.

Can PiVPN run in Docker?

As an experiment, on Alpine with NET_ADMIN. There are no official images and no support.

Can I run WireGuard and OpenVPN together?

With PiVPN, yes: run the installer again, then use pivpn wg and pivpn ovpn.

A file from either server

Veli is free and opens WireGuard .conf files on Windows, macOS, Linux and Android, and .ovpn on Windows and Linux. If your server is a VPS, it can install WireGuard there over SSH.