Skip to content

Latest commit

 

History

History

wgdashboard

Folders and files

README.md

PDC-wgdashboard

WireGuard + WGDashboard v4.3.3 VPN gateway — PDC DevOps Stack.

Host: Any Linux VM or bare-metal host with WireGuard kernel support

Deploy

cp .env.example .env
# edit .env — set WG_SERVER_PRIVATE_KEY and WG_ENDPOINT

mkdir -p wireguard wgdashboard-data
docker compose up -d

Dashboard: http://<host>:10086 — default login: admin / admin — change immediately

WireGuard Config

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.

Example wg0.conf structure

[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

Tunnel / Subnet Info

Parameter Value
WG tunnel subnet 10.10.0.0/24 (example)
Listen port 56812
Dashboard port 10086

Notes

  • Container requires NET_ADMIN + SYS_MODULE caps and IP forwarding sysctls
  • WGDashboard v4.3.3 — do not upgrade without testing
  • wgdashboard.db is excluded from git (contains peer keys)