fix(vpn): enable gluetun server-list updater (bundled list was stale) + re-enable
CORRECTION: the connection failures were gluetun dialing RETIRED PIA IPs (46.246.x = dead → timeouts, which I mis-read as a network block). A fresh PIA .ovpn connects from the same host, and PIA's current SE Stockholm servers (158.173.x) are reachable. Cilium was independently cleared (default-allow, host-fw off, Hubble FORWARDED). Fix: UPDATER_PERIOD=24h so gluetun fetches PIA's current servers; keep OPENVPN_MTU/MSSFIX=1350 for the real Cilium-VXLAN 1450 pod MTU (data channel); PIA default UDP port. Re-enable vpn-egress. Full correction in DECISIONS-LOG. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
50a416077c
commit
457edb7a38
4 files changed
+35
-13
No files matched your search
@@ -17,13 +17,11 @@ resources:
|
||||
- cert-manager # Let's Encrypt DNS-01 wildcard — needs SOPS `cloudflare-api-token`
|
||||
- externaldns # auto DNS records — needs SOPS `cloudflare-api-token`
|
||||
- gateway # Gateway API listeners (ingress; replaces Traefik)
|
||||
# ---- Phase 3 — Egress / VPN — DISABLED: BLOCKED at the network (operator action needed). Definitive
|
||||
# finding: this 192.168.2.x WiFi segment BLACKHOLES traffic to PIA's IP ranges — TCP 501/443 to PIA
|
||||
# time out, UDP + ICMP get no reply across many PIA servers, while Google/Cloudflare work on all.
|
||||
# It also intercepts DNS/:53. Not MTU, not ports, not the cluster — the config is correct. Fix at
|
||||
# the network (move to the unfiltered 192.168.1.x LAN / wired, or unblock PIA on the router), then
|
||||
# re-enable. See DECISIONS-LOG "Phase 3 VPN — network blocks PIA". ----
|
||||
# - vpn-egress # re-enable once the network permits PIA (no code change needed)
|
||||
# ---- Phase 3 — Egress / VPN (PIA OpenVPN-UDP, ADR-0013 amendment). Real root cause of the earlier
|
||||
# failures: gluetun's bundled PIA server list was STALE (dialing retired 46.246.x IPs → timeouts);
|
||||
# fix = UPDATER_PERIOD (fetch current servers) + OPENVPN_MTU/MSSFIX 1350 for the Cilium-VXLAN 1450
|
||||
# pod MTU. See DECISIONS-LOG "Phase 3 VPN". ----
|
||||
- vpn-egress # shared Gluetun PIA/OpenVPN-UDP egress gateway + kill-switch (ADR-0013)
|
||||
# ---- Phase 4 — Observability (creds provisioned via SOPS: grafana-admin, alertmanager-smtp) ----
|
||||
- monitoring # kube-prometheus-stack + Loki + Alloy + Alertmanager
|
||||
# ---- Later phases: enabled when their phase opens ----
|
||||
|
||||
@@ -40,10 +40,19 @@ spec:
|
||||
value: "private internet access"
|
||||
- name: VPN_TYPE
|
||||
value: "openvpn" # OpenVPN-UDP — satisfies "protocol != TCP" (R-NET); ADR-0013 amended
|
||||
# NOTE (2026-08-22): PIA's default OpenVPN UDP (1197) is used. Earlier port/MTU overrides were
|
||||
# removed — they were chasing symptoms. The real blocker is that this network BLACKHOLES traffic
|
||||
# to PIA's IP ranges (TCP 501/443 time out, UDP/ICMP no reply — while Google/Cloudflare work).
|
||||
# Fixable only at the network, not here. See DECISIONS-LOG "Phase 3 VPN — network blocks PIA".
|
||||
# Root cause of the connection failures: gluetun's BUNDLED PIA server list was STALE — it dialed
|
||||
# retired IPs (46.246.x → timeouts, which I initially mis-read as a network block). PIA's CURRENT
|
||||
# Sweden servers are 158.173.x and are reachable; a fresh .ovpn connects fine. Enable the updater
|
||||
# so gluetun fetches PIA's current server list at startup + periodically:
|
||||
- name: UPDATER_PERIOD
|
||||
value: "24h"
|
||||
# Pod MTU is 1450 (Cilium VXLAN: 1500 − 50 encap; node/host/WAN are 1500). Shrink OpenVPN so
|
||||
# DATA-channel packets fit (the handshake is small so this wasn't the connect blocker, but the
|
||||
# data channel needs it). Hardcoded strings (int-coercion gotcha). See DECISIONS-LOG.
|
||||
- name: OPENVPN_MTU
|
||||
value: "1350"
|
||||
- name: OPENVPN_MSSFIX
|
||||
value: "1350"
|
||||
# PIA credentials from the SOPS secret (Gluetun's PIA OpenVPN creds env):
|
||||
- name: OPENVPN_USER
|
||||
valueFrom:
|
||||
|
||||
Reference in new issue
Block a user