WG-Easy logoVPN

WG-Easy

A simple WireGuard VPN management UI for easily creating and managing VPN clients through a web interface.

Hardware compatibility

Unknown — resource or architecture evidence is missing. Check upstream docs.

Hardware compatibility

Available CPU cores
Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
Available RAM (GiB)
Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
Available disk (GiB)
Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
Architecture
Unknown (not recorded)

Unknown (not recorded)

Review notes

Requires NET_ADMIN and SYS_MODULE capabilities. Configure the correct public IP and UDP port 51820 for client connections.

Deployment guide

Run a single Docker container with special capabilities for WireGuard management. Open UDP port.

  1. Open UDP port 51820 on the firewall and router.
  2. Run the container with NET_ADMIN and SYS_MODULE capabilities.
  3. Set WG_HOST to the server public IP or domain.
  4. Set admin password via PASSWORD_HASH.
  5. Create client profiles and download config files or scan QR codes.
Backup:Back up the config directory containing WireGuard keys and client profiles.

No hosted installer

The examples below are unverified, not installers. Consult official documentation and replace secrets before use.

Official documentation

Unverified deployment examples

Do not run unchanged. Replace all placeholder secrets, pin image versions, review privileged access and exposed ports, configure HTTPS and backups. These snippets may be incomplete or outdated; use upstream docs.

docker-compose.ymlyaml
services:
  wg-easy:
    image: ghcr.io/wg-easy/wg-easy:latest
    container_name: wg-easy
    environment:
      WG_HOST: "YOUR_SERVER_IP"
      PASSWORD_HASH: "$$2y$$10$$your_bcrypt_hash_here"
      WG_DEFAULT_DNS: "1.1.1.1"
    volumes:
      - ./config:/etc/wireguard
    ports:
      - "51820:51820/udp"
      - "51821:51821/tcp"
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv4.ip_forward=1
    restart: unless-stopped
setup.shbash
# No executable setup script; follow current official documentation.
# Không có script cài đặt; xem tài liệu chính thức hiện hành.
# https://github.com/wg-easy/wg-easy/wiki

Stack

Node.jsDocker