WireGuard + WGDashboard v4.3.3 VPN gateway — PDC DevOps Stack.
Host: Any Linux VM or bare-metal host with WireGuard kernel support
cp .env.example .env
# edit .env — set WG_SERVER_PRIVATE_KEY and WG_ENDPOINT
mkdir -p wireguard wgdashboard-data
docker compose up -dDashboard: http://<host>:10086 — default login: admin / admin — change immediately
The wireguard/ directory is mounted into the container. Place your wg0.conf there.
Never commit wg0.conf — it contains private keys. It is in .gitignore.
[Interface]
Address = 10.10.0.1/24
ListenPort = 56812
PrivateKey = <SERVER_PRIVATE_KEY>
DNS = 1.1.1.1
[Peer]
# client
PublicKey = <CLIENT_PUBLIC_KEY>
AllowedIPs = 10.10.0.2/32| Parameter | Value |
|---|---|
| WG tunnel subnet | 10.10.0.0/24 (example) |
| Listen port | 56812 |
| Dashboard port | 10086 |
- Container requires
NET_ADMIN+SYS_MODULEcaps and IP forwarding sysctls - WGDashboard v4.3.3 — do not upgrade without testing
wgdashboard.dbis excluded from git (contains peer keys)