summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-12 20:49:38 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-02-19 14:15:07 +0100
commit8b063477cc574013d8db4137245e0795887ec930 (patch)
treef46ac77c2884d3ad0682599a0897deeca6aa65d4 /internal
parent9350e1d1a74f12d7da548b46686ce7b99308acd6 (diff)
WireGuard: Fix TCPEndpoint test
Diffstat (limited to 'internal')
-rw-r--r--internal/wireguard/wireguard_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/wireguard/wireguard_test.go b/internal/wireguard/wireguard_test.go
index ddb9d56..ba9ad1f 100644
--- a/internal/wireguard/wireguard_test.go
+++ b/internal/wireguard/wireguard_test.go
@@ -63,9 +63,7 @@ DNS = 9.9.9.9,2620:fe::fe
[Peer]
PublicKey =
AllowedIPs = 0.0.0.0/0,::/0
-# TCPEndpoint is a proprietary eduVPN / Let's Connect! extension
-# See https://docs.eduvpn.org/server/v3/proxyguard.html#client on how to use the TCP proxy
-TCPEndpoint = vpn.example.org:51820
+ProxyEndpoint = https://vpn.example.org/example
`,
want: fmt.Sprintf(`[Interface]
MTU = 1392
@@ -77,7 +75,7 @@ PublicKey =
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = 127.0.0.1:1337
`, k.String()),
- wantep: "vpn.example.org:51820",
+ wantep: "https://vpn.example.org/example",
proxy: "127.0.0.1:1337",
werr: "",
},