selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

WireGuard Easy logo

Self-host WireGuard Easy

v15.5.0
ReleaseOpen SourceAGPL-3.0
Docker ComposeCompose file & guide
sudo docker compose up -d
Updated2 weeks ago
LanguageTypescript
Setup difficultyModerate
MobileResponsive
ThemeDark mode
Stars
27 432
Port
51820 (UDP), 51821 (TCP)
Docker
ghcr.io/wg-easy/wg-easy
WireGuard Easy screenshot 1

What is WireGuard Easy?

wg-easy is a self-hosted solution that simplifies the installation and management of WireGuard VPN with a web-based admin UI. It provides features such as client management, QR code generation, configuration file downloads, connection statistics, and real-time traffic charts. The application supports IPv6, CIDR, 2FA, and per-client firewall filtering. It is designed to be easy to install and use, with support for Docker and Docker Compose.

WireGuard Easy alternatives

Should you self-host WireGuard Easy?

WireGuard Easy scores 73/100 on selfhost.directory (how scoring works) and ranks #7 of 56 in VPN. It has 27 432 GitHub stars, +360 in the last 30 days.

It shipped 6 stable releases in the past year. The latest, v15.5.0, came out on 24 October 2026. New versions land roughly every 2 months.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Tailscale (84/100, 38 780 stars). It scores higher overall, so compare the two before you pick. See WireGuard Easy vs Tailscale side by side.

Features

  • 2FA
  • API
  • Dark Mode
  • IPv6
  • Multi-language
  • Multi-user support
  • Statistics
  • Web UI

WireGuard Easy README

WireGuard Easy

Build & Publish latest Image Lint GitHub Stars License GitHub Release Image Pulls

You have found the easiest way to install & manage WireGuard on any Linux host!

wg-easy Screenshot

Features

How to install WireGuard Easy

Install WireGuard Easy with Docker Compose

Environment variables
PORT: TCP port for Web UI (default: 51821)
HOST: IP address web UI binds to (default: 0.0.0.0)
INSECURE: If access over http is allowed (default: false)
DISABLE_IPV6: If IPv6 support should be disabled (default: false)
version: '3.8'

services:
  wg-easy:
    image: ghcr.io/wg-easy/wg-easy:15
    container_name: wg-easy
    environment:
      - PORT=51821
      - HOST=0.0.0.0
      - INSECURE=false
    volumes:
      - ./wg-easy:/etc/wireguard
      - /lib/modules:/lib/modules:ro
    ports:
      - "51820:51820/udp"
      - "51821:51821/tcp"
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    sysctls:
      - net.ipv4.ip_forward=1
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv6.conf.all.disable_ipv6=0
      - net.ipv6.conf.all.forwarding=1
      - net.ipv6.conf.default.forwarding=1
    restart: unless-stopped

To start the container, run:

sudo docker compose up -d

How to configure WireGuard Easy

  • PORT51821TCP port for Web UI.

    values: Any valid port

  • HOST0.0.0.0IP address web UI binds to.

    values: Any valid IP address

  • INSECUREfalseIf access over http is allowed.

    values: true, false

  • DISABLE_IPV6falseIf IPv6 support should be disabled.

    values: true, false

WireGuard Easy releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What should I do if WireGuard exits with the error: Cannot find device 'wg0'?

This error indicates that the WireGuard interface wg0 does not exist. You can resolve this by loading the WireGuard kernel module manually or ensuring it loads on boot.

How do I restrict client access to specific networks or servers?

Use the Per-Client Firewall feature to enforce server-side restrictions on what each client can access. This feature requires iptables to be installed on the host system.

More in VPN

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…