{{template "icon_sprite"}}

Felhom Hub

Offsite connectivity

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}}
{{end}} {{else}}

Endpoint

Not configured. Add one below (or via PUT /api/v1/admin/wg/endpoint, runbook: offsite-endpoint.md).

{{end}}

Add endpoint

{{if .Peers}}
{{range .Peers}} {{end}}
Public key Assigned IP Endpoint Host Note Created
{{.PubkeyShort}} {{.AssignedIP}} {{if .EndpointID}}{{.EndpointID}}{{else}}—{{end}} {{if .HostID}}{{.HostID}}{{else}}—{{end}} {{if .Note}}{{.Note}}{{else}}—{{end}} {{.CreatedAt}}
{{else}}

No WireGuard peers registered.

A peer appears here when a box registers via POST /hosts/<id>/wg or the operator adds one via the admin API.

{{end}}