From 10eebfc9d032ef52d496f58c035f3978ffa4301c Mon Sep 17 00:00:00 2001 From: gilgamezh Date: Sat, 17 Jan 2026 12:30:28 +0100 Subject: [PATCH] media: select airvpn by country for wireguard --- custom_helm_charts/gluetun/README.md | 3 ++- custom_helm_charts/gluetun/values.yaml | 2 +- helm-values/gluetun_values.yaml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/custom_helm_charts/gluetun/README.md b/custom_helm_charts/gluetun/README.md index 2038ab3..e274eb0 100644 --- a/custom_helm_charts/gluetun/README.md +++ b/custom_helm_charts/gluetun/README.md @@ -7,7 +7,8 @@ Service endpoints: AirVPN WireGuard values: - Update `helm-values/gluetun_values.yaml`: - `env.WIREGUARD_ADDRESSES` -> WireGuard tunnel address(es) (IPv4 /32 and optional IPv6) - - `env.SERVER_HOSTNAMES` -> stable AirVPN server hostname + - `env.SERVER_COUNTRIES` -> recommended AirVPN server selection (e.g. Netherlands) + - If your cluster does not support IPv6, remove the IPv6 address from `env.WIREGUARD_ADDRESSES`. - Create a Secret named `gluetun-wireguard` with key `WIREGUARD_PRIVATE_KEY` from your AirVPN WireGuard config (do not commit the key). - Add `WIREGUARD_PRESHARED_KEY` from the same AirVPN WireGuard config. - `helm-values/gluetun_values.yaml` sets `secret.create: false` so the chart does not create a placeholder secret. diff --git a/custom_helm_charts/gluetun/values.yaml b/custom_helm_charts/gluetun/values.yaml index 47e411f..732f754 100644 --- a/custom_helm_charts/gluetun/values.yaml +++ b/custom_helm_charts/gluetun/values.yaml @@ -22,7 +22,7 @@ env: key: WIREGUARD_PRESHARED_KEY - name: WIREGUARD_ADDRESSES value: "REPLACE_ME" - - name: SERVER_HOSTNAMES + - name: SERVER_COUNTRIES value: "REPLACE_ME" - name: HTTPPROXY value: "on" diff --git a/helm-values/gluetun_values.yaml b/helm-values/gluetun_values.yaml index 2b6a1b6..1edb545 100644 --- a/helm-values/gluetun_values.yaml +++ b/helm-values/gluetun_values.yaml @@ -22,8 +22,8 @@ env: key: WIREGUARD_PRESHARED_KEY - name: WIREGUARD_ADDRESSES value: "10.160.17.207/32,fd7d:76ee:e68f:a993:61d7:a5fe:f834:90e1/128" - - name: SERVER_HOSTNAMES - value: "nl3.vpn.airdns.org" + - name: SERVER_COUNTRIES + value: "Netherlands" - name: HTTPPROXY value: "on" - name: HTTPPROXY_LOG