Home Catalogus WireGuard Easy
Network

WireGuard Easy

All-in-one WireGuard VPN server with a web UI for managing clients and configuration. Requires root privileges with NET_ADMIN and SYS_MODULE capabilities for managing kernel network devices.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Geen Lock-in)
RAM Profiel: Laag
Standaard Poort: Port 51820

Waarom deze configuratie?

Snelle Start (Standalone Docker Compose)

Onderstaand compose-fragment is direct te gebruiken in elke Docker- of Podman-omgeving:

services:
  wg-easy:
    image: ghcr.io/wg-easy/wg-easy:latest
    container_name: njorddeploy-wg-easy
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
      - NET_RAW
    sysctls:
      - net.ipv4.ip_forward=1
      - net.ipv4.conf.all.src_valid_mark=1
    environment:
      - "WG_HOST=vpn.example.com"
      - "PASSWORD_HASH=$2b$12$U5DIA2y39QuBN0Cv4iZNxu9bb7NROm.gs2Kq.KbIi4uOzjJ3ST5u2"
      - "PORT=51821"
      - "WG_PORT=51820"
      - "WG_DEFAULT_DNS=1.1.1.1"
    volumes:
      - "./data/wg-easy/wireguard:/etc/wireguard"
      - "/lib/modules:/lib/modules:ro"
    ports:
      - "51820:51820/udp"
      - "51821:51821/tcp"
    networks:
      - njorddeploy_net

networks:
  njorddeploy_net:

Start de service direct via de commandline: docker compose up -d

Configuratie & Omgevingsvariabelen

Belangrijkste configuratieparameters en standaardwaarden uit de NjordDeploy component-sjabloon:

Variable Default Value Description
WG_EASY_WEB_PORT 51821 Host port used to access the WireGuard Easy administration web interface.
WG_EASY_PORT 51820 Public UDP port on which WireGuard VPN traffic will be received.
WG_HOST vpn.example.com Public domain name or external IP address that WireGuard clients will use to connect.
WG_PASSWORD_HASH $2b$12$U5DIA2y39QuBN0Cv4iZNxu9bb7NROm.gs2Kq.KbIi4uOzjJ3ST5u2 Bcrypt password hash used to log in to the WireGuard Easy web management interface (default: change_me).
WG_DEFAULT_DNS 1.1.1.1 DNS server provided to connecting WireGuard clients.

Ecosysteem & Bedrijfsintegratie

Eenvoudig beheren via NjordDeploy

Installeer, bewaak en update deze service met 1 klik op uw eigen Raspberry Pi of Proxmox server via de NjordDeploy Configurator.