Peer allocation and endpoint sync currently use the lowest endpoint id (ep0).
Per-endpoint allocation is a future work item.
{{if eq .Flash "endpoint_saved"}}
Endpoint saved.
{{end}}
{{if eq .Flash "endpoint_deleted"}}
Endpoint deleted.
{{end}}
{{if .HasEndpoints}}
{{range .Endpoints}}
Endpoint {{.EndpointID}}
Address
{{.DNSName}}:{{.WGPort}} (WireGuard, UDP)
Server public key
{{.ServerPubkeyShort}}
Tunnel subnet
{{.TunnelSubnet}}
PBS tunnel address
{{.PBSTunnelIP}}:8007
Peers in subnet
{{.PeerCount}}
Deleting {{.EndpointID}} removes only the endpoint record — registered peers stay.
Deletion is refused while any peer is allocated in its subnet. Type the endpoint id to confirm:
{{end}}
{{else}}
Endpoint
Not configured. Add one below (or via PUT /api/v1/admin/wg/endpoint, runbook: offsite-endpoint.md).
{{end}}
Add endpoint
The server public key is CHANGING. Peers keep using the old key until they pull their
next desired-state (they converge on their own cycle — no push). Type the endpoint id to confirm: