summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/server/server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/types/server/server.go b/types/server/server.go
index 1beb8fb..260d328 100644
--- a/types/server/server.go
+++ b/types/server/server.go
@@ -163,7 +163,8 @@ type Proxy struct {
SourcePort int `json:"source_port"`
// Listen is the ip:port for the client UDP connection, this is the value that is replaced in the config
Listen string `json:"listen"`
- // Peer is the ip:port of the upstream server
+ // Peer is the URI of the upstream server
+ // Note that this exactly matches the "ProxyEndpoint" key in the WireGuard config
Peer string `json:"peer"`
}