Wireguard web interface
Go to file
dependabot[bot] 929034a0b1
Bump alpine from 3.21 to 3.23 (#6)
Bumps alpine from 3.21 to 3.23.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: '3.23'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-23 15:03:41 +02:00
.claude Add auditlogs (#1) 2026-04-22 18:50:40 +02:00
.github Bump the actions group with 10 updates (#7) 2026-04-23 15:02:41 +02:00
audit Fixes (#11) 2026-04-23 14:55:12 +02:00
db
emailer Add auditlogs (#1) 2026-04-22 18:50:40 +02:00
examples/docker-compose Fixes (#11) 2026-04-23 14:55:12 +02:00
handler Fixes (#11) 2026-04-23 14:55:12 +02:00
model Fixes (#11) 2026-04-23 14:55:12 +02:00
public Fixes (#11) 2026-04-23 14:55:12 +02:00
router Fixes (#11) 2026-04-23 14:55:12 +02:00
src Fixes (#11) 2026-04-23 14:55:12 +02:00
store Fixes (#11) 2026-04-23 14:55:12 +02:00
templates Add auditlogs (#1) 2026-04-22 18:50:40 +02:00
util Fixes (#11) 2026-04-23 14:55:12 +02:00
.dockerignore Fixes (#11) 2026-04-23 14:55:12 +02:00
.gitattributes
.gitignore Add auditlogs (#1) 2026-04-22 18:50:40 +02:00
.golangci.yml Fixes (#11) 2026-04-23 14:55:12 +02:00
CONTRIBUTING.md
Dockerfile Bump alpine from 3.21 to 3.23 (#6) 2026-04-23 15:03:41 +02:00
LICENSE Fixes (#11) 2026-04-23 14:55:12 +02:00
Makefile Fixes (#11) 2026-04-23 14:55:12 +02:00
README.md Fixes (#11) 2026-04-23 14:55:12 +02:00
components.json Fixes (#11) 2026-04-23 14:55:12 +02:00
docker-compose.yaml Add auditlogs (#1) 2026-04-22 18:50:40 +02:00
eslint.config.js Fixes (#11) 2026-04-23 14:55:12 +02:00
go.mod Fixes (#11) 2026-04-23 14:55:12 +02:00
go.sum Fixes (#11) 2026-04-23 14:55:12 +02:00
index.html Fixes (#11) 2026-04-23 14:55:12 +02:00
init.sh Add auditlogs (#1) 2026-04-22 18:50:40 +02:00
main.go Fixes (#11) 2026-04-23 14:55:12 +02:00
package-lock.json Fixes (#11) 2026-04-23 14:55:12 +02:00
package.json Fixes (#11) 2026-04-23 14:55:12 +02:00
tsconfig.app.json Fixes (#11) 2026-04-23 14:55:12 +02:00
tsconfig.json Fixes (#11) 2026-04-23 14:55:12 +02:00
tsconfig.node.json Fixes (#11) 2026-04-23 14:55:12 +02:00
vite.config.ts Fixes (#11) 2026-04-23 14:55:12 +02:00
vitest.config.ts Fixes (#11) 2026-04-23 14:55:12 +02:00

README.md

digitaltolk/wireguard-ui

Coverage Status

A web user interface to manage your WireGuard setup.

Fork of ngoduykhanh/wireguard-ui.

Features

  • Modern React frontend built with shadcn/ui components (WCAG accessible)
  • Single Sign-On via OpenID Connect (OIDC)
  • Audit logging of all administrative actions
  • SQLite database backend
  • Client management with QR codes, email delivery, and Excel export
  • Multi-platform Docker images (amd64, arm64, armv7)

Quick Start

Docker

docker pull digitaltolk/wireguard-ui

Docker Compose

services:
  wireguard-ui:
    image: digitaltolk/wireguard-ui:latest
    container_name: wireguard-ui
    cap_add:
      - NET_ADMIN
    network_mode: host
    environment:
      - WGUI_USERNAME=admin
      - WGUI_PASSWORD=admin
      - WGUI_MANAGE_START=true
      - WGUI_MANAGE_RESTART=true
    volumes:
      - ./db:/app/db
      - /etc/wireguard:/etc/wireguard

The default username and password are admin. Change them to secure your setup.

See examples/docker-compose for more configurations (LinuxServer, BoringTun, host networking).

Binary

Download the binary from the Releases page:

./wireguard-ui

Environment Variables

Refer to the environment variable tables in the upstream documentation or inspect the source for a full list. Key variables:

Variable Description Default
BIND_ADDRESS Listen address 0.0.0.0:80
SESSION_SECRET Secret for session cookies N/A
WGUI_USERNAME Initial admin username admin
WGUI_PASSWORD Initial admin password admin
WGUI_CONFIG_FILE_PATH WireGuard config path /etc/wireguard/wg0.conf
WGUI_MANAGE_START Start WireGuard with container false
WGUI_MANAGE_RESTART Restart WireGuard on config apply false

Build

# Build everything (frontend + Go binary)
make build

# Build Docker image
docker build -t wireguard-ui .

License

MIT. See LICENSE.