~muirrum/wg-manager

7f0aca39 — Cara Salter 3 months ago
LICENSE
9e6390b6 — Cara Salter 3 months ago
README
efbbd3f0 — Cara Salter 3 months ago
CI

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~muirrum/wg-manager
read/write
git@git.sr.ht:~muirrum/wg-manager

You can also use your local clone with git send-email.

#wg-manager

builds.sr.ht status

This is the server portion of the Wireguard Management System, which is designed to make it easier to provision peers across the network.

#Setup

Download artifacts from our latest build, or clone the repo and build yourself with go build.

Create a peers.json file in your working directory with the following format:

{
	"peers": [
		{
			"name": "peer name",
			"public_key": "bad-key",
			"ip": "AllowedIp",
			"endpoint": "optional, for the wireguard server
		}
	]
}

You can then run wg-manager with the following flags, listed with their default settings:

  • -port: The port to listen on, defaults to 3000
  • -bind: The address/interface to bind to, defaults to 127.0.0.1