~muirrum/wg-manager

Server/client to automatically deploy new peers

56cadbd Initial Commit

9 months ago

7f0aca3 LICENSE

9 months ago

#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