A simple, easy to use web interface for Wireguard. It supports SSO authentication (currently Google, Github, Gitlab, Okta are supported) and SCIM2.0 protocol (in development).
Prerequisites:
- Go 1.16
- GCC (required by go-sqlite)
Build Webguard:
git clone --depth 1 https://github.com/nhamlh/webguard \
&& cd webguard \
&& go build -o ./webguard ./cmd/Run the database schema migration:
./webguard db migrateStart Webguard:
./webguard startAfter sucessfully build Webguard, you can run genconf subcommand to generate a default configuration file. You can edit this file then apply it to Webguard by --config flag, e.g:
./webguard genconf > config.json && ./webguard --config config.json startWebguard ships with pre-built docker container. Notice: Webguard container must be run with NET_ADMIN capability.
docker run --rm \
-p 8080:8080 \
--cap-add NET_ADMIN \
docker pull ghcr.io/nhamlh/webguard:latestThis will start Webguard on port 8080

