The added device object
What the device's WireGuard config needs.
{
"name": "laptop",
"address": "100.96.0.2",
"gateway": "100.96.0.1",
"endpoint": "wg.shako.dev:51820",
"public_key": "Bq9z..."
}Fields
namestring- The device's name.
addressstring- Its address on the private network.
gatewaystring- Shako's address on the private network.
endpointstring- Shako's WireGuard endpoint, host:port.
public_keystring- Shako's WireGuard public key.