Homelab · Networking

WireGuard at Home with wg-easy v15

WireGuard is the VPN protocol that finally made a self-hosted VPN feel simple: one UDP port, small configuration files, and clients for everything. wg-easy wraps it in a web panel for adding users and devices, and it is the easiest way to run a plain WireGuard server at home. One thing has to be said before any commands: wg-easy v15, the current release, is a rewrite. It does not work the way the version in nearly every existing tutorial works, and following an older guide will strand you. This guide teaches the v15 flow only, and flags the traps where they sit.

Published Nov 21, 2026

What a plain WireGuard server gives you

A WireGuard server on your home network is a front door you control. Your phone, laptop, or a family member’s tablet connects through an encrypted tunnel and lands on your LAN as if it were plugged in at home: the NAS, the printer, Home Assistant, and the admin pages that should never face the internet all become reachable from anywhere, while the internet sees none of them directly. There is no account with a VPN company, no subscription, and no third party in the path — the server is a container on hardware you own, and the keys never leave it except to the devices you hand them to.

That is a different shape from a mesh service such as Tailscale, which this site covers in the Tailscale, Cloudflare Tunnel and reverse proxy comparison. A mesh builds a private network between your devices wherever they are, with identity and access rules handled by the service’s coordination layer. Plain WireGuard is a hub: everything tunnels through your home connection, your home IP address is the exit point, and you are the entire operations team. Readers who want devices to find each other across several locations usually prefer the mesh. Readers who want one simple, fully self-owned way into the home network — and nothing else — are the audience for this guide.

Read this before any tutorial: v15 is a rewrite

wg-easy v15 (current release v15.5.0, October 2026) replaced the configuration model completely. In v14 and everything before it, you configured the server with environment variables in your Compose file: WG_HOST for your public address, PASSWORD_HASH for the admin login, and a family of WG_DEFAULT_* settings. All of those variables are gone. In v15, configuration lives in a SQLite database (/etc/wireguard/wg-easy.db inside the container’s data volume) and is set through a first-run setup wizard and the admin panel. A Compose file copied from a v14 tutorial starts a container that ignores nearly every setting you gave it.

Three more traps sit next to that one. There is no in-place upgrade from v14 to v15 — the migration path is export, fresh install, import, covered below. The :latest Docker tag still points at v14, so any guide that pulls wg-easy:latest installs the old application while claiming to install the new one; this guide pins the v15 image explicitly. And v15 dropped 32-bit ARM: armv6 went in 15.0 and armv7 in 15.2, so a 32-bit Raspberry Pi OS install cannot move to v15 at all — you need a 64-bit OS or newer hardware. The project is now licensed AGPL-3.0, and v15 adds proper user accounts with optional two-factor authentication, expiring clients, one-time configuration links, and per-client firewall rules.

Before you start

You need four things. A host that stays on — a NAS, a mini PC, or a 64-bit Raspberry Pi — running Docker. A way for the internet to find your house: a public IP address on your router’s WAN side, plus a dynamic DNS name if that address changes. A port forward on your router sending UDP 51820 to the host. And a decision about scope: which devices get accounts, and whether their tunnels carry all of their traffic or only traffic aimed at your home network. That last choice is made per client later, but thinking about it now keeps the setup tidy. If your connection sits behind carrier-grade NAT with no public address at all, a port forward cannot work, and the mesh route in the comparison guide is the better tool — check before you invest an evening.

Install: pin v15, then let the wizard do its job

The container is published as ghcr.io/wg-easy/wg-easy:15. Note the tag: :15, not :latest. The service needs the WireGuard port (51820/udp) for tunnels and the panel port (51821/tcp), a persistent volume for /etc/wireguard — that directory holds the SQLite database and every client key, so it belongs in your backup regime from day one — plus a read-only mount of the host’s kernel modules at /lib/modules, the NET_ADMIN and SYS_MODULE capabilities, and the standard IP-forwarding and masquerade sysctls WireGuard hosts require. The project’s documentation publishes the reference Compose file with these pieces in place; copy it exactly rather than trimming parts that look optional, because the module mount is the one whose absence produces the least obvious failures.

On first start there is no admin password in a variable, because there are no variables. Open the panel and the first-run setup wizard walks you through creating the administrator account and the server’s core settings: the public host name or address clients will dial, the port, and the tunnel’s address range and DNS. This is where WG_HOST went — it is a field in a form now, stored in the database. One behavior surprises people: the panel refuses to serve plain HTTP on a remote address unless you deliberately set INSECURE=true. Treat that as the nudge it is. Keep the panel on the LAN, reach it through the tunnel itself once a first client exists, or put it behind your reverse proxy with HTTPS — the admin panel is the keys to the network and should be handled like it.

Adding clients and choosing what the tunnel carries

With the server up, the daily work is all in the panel. Create a user for each person, then a client for each of their devices — a phone and a laptop are two clients with two keys, so a lost phone can be revoked without touching the laptop. Each client gets a configuration file and a QR code; on a phone, the WireGuard app scans the code and the tunnel exists. v15’s one-time links are the tidy way to hand a configuration to someone else: the link delivers the config once, instead of a file that floats around in email forever. Client expiry dates suit the temporary cases — a guest, a contractor, a device being tested.

The setting worth understanding per client is Allowed IPs, because it decides what the tunnel carries. A full tunnel (0.0.0.0/0) sends all of the device’s internet traffic home first — the right choice on untrusted café Wi-Fi, at the cost of your home upload speed and your home IP address being the device’s public face. A split tunnel (just your LAN ranges, such as 192.168.1.0/24 and the tunnel subnet) carries only home-bound traffic and lets everything else go direct: faster, lighter, and the usual pick for reaching the NAS and Home Assistant from the road. Most households run a mix — full tunnel on the phone, split on the work laptop — and wg-easy makes it a per-client checkbox rather than a rebuild.

Coming from v14: export, deploy fresh, import

If you already run wg-easy v14, do not pull the new image over the top and hope. The supported path is short but it is a migration, not an upgrade. In the v14 panel, use the Backup function to export wg0.json — that file carries your server and client configuration. Deploy v15 fresh, with a new empty data volume, following the install above. During the first-run wizard, choose the import option and give it the exported file; your clients land in the new database and their existing configurations keep working, because the keys come across with them. Only once every client has reconnected should the old container and its volume be retired — and keep the export file until they have. Rolling back after a failed import is simply restarting the untouched v14 container, which is the real reason the migration is shaped this way.

Looking after it

Three habits keep a VPN server boring, which is what you want. Back up the data volume: the SQLite database and client keys in /etc/wireguard are the entire service, and restoring them onto a fresh container resurrects every client without re-enrolling a single device. Update deliberately: stay on the v15 line, read the release notes before moving, and remember that a VPN is security software — patches are the point of running your own. Keep the panel private: the tunnel port must face the internet, but the admin panel never should; LAN-only, through the tunnel, or behind an authenticated reverse proxy are the acceptable answers. Do those three and a WireGuard server becomes what it should be — a door that is simply there, on the days you are grateful for it, unnoticed the rest of the year.

Official documentation and references

Frequently asked questions

Is wg-easy free to run at home?

Yes. wg-easy v15 is open source under the AGPL-3.0 license, and self-hosting it on your own hardware for your own household carries no subscription or per-client fee. The costs are the ones you already have: the host, the electricity, and your internet connection.

Can I upgrade wg-easy v14 to v15 in place?

No. v15 stores configuration in a SQLite database set up by its first-run wizard, and there is no in-place conversion of a v14 install. Export wg0.json from the v14 panel’s Backup function, deploy v15 fresh, and import the file during the wizard — client keys carry over, so existing devices keep connecting.

Why did following a tutorial install the old version?

Almost certainly the Docker tag. The :latest tag still points at v14, so any guide using it installs the old application. Pin the v15 image explicitly — ghcr.io/wg-easy/wg-easy:15 — and ignore tutorial steps that set WG_HOST or PASSWORD_HASH; v15 has no configuration variables at all.

Will wg-easy v15 run on my Raspberry Pi?

On a 64-bit Pi install, yes. v15 dropped 32-bit ARM in stages — armv6 in 15.0 and armv7 in 15.2 — so a Pi running a 32-bit OS cannot run it. Either reinstall with 64-bit Raspberry Pi OS or keep that machine on network duties it can still do.

Should I choose WireGuard or Tailscale?

Choose plain WireGuard when you want one self-owned door into the home network and nothing depending on an outside service. Choose a mesh such as Tailscale when devices at several locations need to reach each other, or when your connection has no public address to forward a port to. The comparison guide on this site works through the trade in detail.

Related guides