Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.22 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.22 KB

Web interface for Wireguard

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).

Some screenshots

Login page

Main page

Installation

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 migrate

Start Webguard:

./webguard start

Configuration

After 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 start

Docker

Webguard 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:latest

This will start Webguard on port 8080