From 0688700ebcce9b48a1aff280c0b58e432008f941 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Tue, 14 Apr 2026 21:25:55 -0500 Subject: [PATCH] Fix gluetun endpoint env var: use WIREGUARD_ENDPOINT_IP, drop port gluetun rejects VPN_ENDPOINT_PORT when SERVER_NAMES is used (server selection mode), and warns that VPN_ENDPOINT_IP is deprecated in favour of WIREGUARD_ENDPOINT_IP. Use only WIREGUARD_ENDPOINT_IP; port 51820 is ProtonVPN's default and doesn't need to be set. --- .../worker/overlays/worker-tx253/kustomization.yaml | 7 +------ .../fornax/worker/overlays/worker-tx34/kustomization.yaml | 7 +------ servers/legion/k8s/media/fornax-workers.yaml | 8 ++------ 3 files changed, 4 insertions(+), 18 deletions(-) diff --git a/servers/legion/k8s/fornax/worker/overlays/worker-tx253/kustomization.yaml b/servers/legion/k8s/fornax/worker/overlays/worker-tx253/kustomization.yaml index a2aba5a..b2b445a 100644 --- a/servers/legion/k8s/fornax/worker/overlays/worker-tx253/kustomization.yaml +++ b/servers/legion/k8s/fornax/worker/overlays/worker-tx253/kustomization.yaml @@ -29,13 +29,8 @@ patches: - op: add path: /spec/template/spec/containers/0/env/- value: - name: VPN_ENDPOINT_IP + name: WIREGUARD_ENDPOINT_IP value: "95.173.217.29" - - op: add - path: /spec/template/spec/containers/0/env/- - value: - name: VPN_ENDPOINT_PORT - value: "51820" - op: replace path: /spec/template/spec/containers/1/env/1/value value: tx253 diff --git a/servers/legion/k8s/fornax/worker/overlays/worker-tx34/kustomization.yaml b/servers/legion/k8s/fornax/worker/overlays/worker-tx34/kustomization.yaml index 7659b94..11fb365 100644 --- a/servers/legion/k8s/fornax/worker/overlays/worker-tx34/kustomization.yaml +++ b/servers/legion/k8s/fornax/worker/overlays/worker-tx34/kustomization.yaml @@ -29,13 +29,8 @@ patches: - op: add path: /spec/template/spec/containers/0/env/- value: - name: VPN_ENDPOINT_IP + name: WIREGUARD_ENDPOINT_IP value: "146.70.58.130" - - op: add - path: /spec/template/spec/containers/0/env/- - value: - name: VPN_ENDPOINT_PORT - value: "51820" - op: replace path: /spec/template/spec/containers/1/env/1/value value: tx34 diff --git a/servers/legion/k8s/media/fornax-workers.yaml b/servers/legion/k8s/media/fornax-workers.yaml index 0dbb958..673e27f 100644 --- a/servers/legion/k8s/media/fornax-workers.yaml +++ b/servers/legion/k8s/media/fornax-workers.yaml @@ -106,10 +106,8 @@ spec: value: "on" - name: FIREWALL_OUTBOUND_SUBNETS value: "10.42.0.0/16,10.43.0.0/16" - - name: VPN_ENDPOINT_IP + - name: WIREGUARD_ENDPOINT_IP value: "95.173.217.29" - - name: VPN_ENDPOINT_PORT - value: "51820" volumeMounts: - name: gluetun-data mountPath: /tmp/gluetun @@ -316,10 +314,8 @@ spec: value: "on" - name: FIREWALL_OUTBOUND_SUBNETS value: "10.42.0.0/16,10.43.0.0/16" - - name: VPN_ENDPOINT_IP + - name: WIREGUARD_ENDPOINT_IP value: "146.70.58.130" - - name: VPN_ENDPOINT_PORT - value: "51820" volumeMounts: - name: gluetun-data mountPath: /tmp/gluetun