Go to file
2020-03-02 19:41:36 +00:00
cmd working incomplete adding of peers. Now sleep. 2020-03-02 03:08:28 +00:00
add.go correct IPAllocated() 2020-03-02 19:31:29 +00:00
const.go go fmt 2020-03-01 23:08:10 +00:00
go.mod POC IP range enumeration 2020-03-02 18:44:19 +00:00
go.sum POC IP range enumeration 2020-03-02 18:44:19 +00:00
init.go fn/method to load/save conf 2020-03-02 02:54:43 +00:00
README.md update README 2020-03-02 18:15:34 +00:00
types.go reorder dsnet config 2020-03-02 19:41:36 +00:00
util.go fn/method to load/save conf 2020-03-02 02:54:43 +00:00

Purpose: to allow an overview of Darksky peers and provide a mechanism to allow easy joining

dsnet is a simple tool to manage a wireguard VPN.

Usage: dsnet <cmd>

Available commands:

	init   : Create /etc/dsnet-config.json containing default configuration + new keys without loading. Edit to taste.
	add    : Generate configuration for a new peer, adding to /etc/dsnet-config.json. Send with passworded ffsend.
	sync   : Synchronise wireguard configuration with /etc/dsnet-config.json, creating and activating interface if necessary.
	report : Generate a JSON status report to the location configured in /etc/dsnet-config.json.

To remove an interface or bring it down, use standard tools such as iproute2.
To modify or remove peers, edit /etc/dsnet-config.json and then run sync.

To send configurations, ffsend (with separately transferred password) or a local QR code generator may be used.