diff --git a/infrastructure/crowdsec/values.yaml b/infrastructure/crowdsec/values.yaml index 2e4c060..56586ee 100644 --- a/infrastructure/crowdsec/values.yaml +++ b/infrastructure/crowdsec/values.yaml @@ -34,6 +34,19 @@ lapi: name: crowdsec-bouncer-key key: api-key optional: true + # Route CAPI/console-enroll HTTPS calls (api.crowdsec.net) through a + # tinyproxy on the VPS, reachable over Netbird. Confirmed 2026-08-17: + # home's public IP gets a 403 from AWS WAF in front of CrowdSec's API + # (even on a bare unauthenticated request), while the VPS's IP gets a + # normal 401 - this is an IP-level block unrelated to credentials, so a + # fresh enrollment key alone doesn't help without changing egress IP. + # cscli's Go HTTP client honors these standard proxy env vars. + - name: HTTPS_PROXY + value: "http://100.108.113.41:8888" + - name: HTTP_PROXY + value: "http://100.108.113.41:8888" + - name: NO_PROXY + value: "localhost,127.0.0.1,.svc,.svc.cluster.local,10.244.0.0/16,10.96.0.0/16" persistentVolume: data: enabled: false