config: drop concrete IP from egress allowlist; docs: fix host reference

- configs/tunnel.yaml: replace hardcoded address with wildcard
  *.projectshitpost.fun:8443 (covers both edge nodes)
- internal/tunnel/tunnel_test.go: use TEST-NET-1 (RFC 5737) IP
  192.0.2.10 instead of a real one
- docs/AUTH.md: token issue command now runs on stats host
This commit is contained in:
BergaBruh
2026-05-10 14:43:42 +05:00
parent a674955ad1
commit 3c2e7c5a81
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
egress: egress:
allowed: allowed:
- "192.0.2.10:8443" # FL xray inbound (production) - "*.projectshitpost.fun:443"
- "*.projectshitpost.fun:443" # any subdomain HTTPS - "*.projectshitpost.fun:8443"
# TODO: add PL1 IP:port once confirmed (controller to fill in during deploy)
rate_mbps: 50 rate_mbps: 50
+1 -1
View File
@@ -11,7 +11,7 @@ Bearer JWT (HS256), HMAC signing secret в `/etc/stats-gateway/jwt.key`.
## Выпуск нового токена ## Выпуск нового токена
На gitea-узле от пользователя с доступом к `jwt.key`: На stats-узле от пользователя с доступом к `jwt.key`:
sudo -u stats /usr/local/bin/stats-issue-token --sub <client-id> --days <N> sudo -u stats /usr/local/bin/stats-issue-token --sub <client-id> --days <N>