homek8s/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 181266d7d4 fix(networking): make the public gateway :8080 WireGuard-only
Finding F2 of the 2026-11-27 cluster netsec audit: cilium-envoy on siriussec
binds gateway-system/public on 0.0.0.0:8080, so anyone on 192.168.1.0/24 could
`curl -H 'Host: forgejo.siriusdevops.com' http://192.168.1.179:8080/` and get
Forgejo (and every public site) over plain HTTP — no Cloudflare TLS, WAF, rate
limits or bot protection, and credentials on the wire inside the LAN. Live:
200 / 14609 B before this change.

The `internal_gw` nft table that already makes 8081/8084-8087 WG-only simply
did not list 8080. Add it to all three rules (lo, mesh+pods, drop), and to the
rpi ufw guard so a future `gateway=true` relabel on the Pi cannot re-open it.

Nothing legitimate needs the LAN path: cloudflared runs on rpi and connects to
10.10.0.2:8080 from 10.10.0.1 over the mesh (`ss` on siriussec shows
`10.10.0.1:* -> 10.10.0.2:8080 ESTABLISHED`), which the 10.10.0.0/24 accept
covers. 10.244.0.0/16 stays accepted for in-cluster probes.

Verified both polarities: LAN 192.168.1.179:8080 -> timeout/DROP (from two
vantage points), mesh 10.10.0.2:8080 -> 200 for all five public hostnames, and
all five public URLs still 200 through Cloudflare.
2026-11-27 00:09:14 -05:00
..
arm64-runner-dind.md docs(arm64 runner dind): as-built section — what landed, deviations, evidence, rollback drill 2026-10-27 04:02:00 -04:00
cluster-overview.md docs(pitr): the plugin path is real — transcript, layout, metrics, 1.31 gate closed 2026-11-19 18:09:23 -05:00
grafana-persistence.md docs: Grafana persistence + admin-password ownership and recovery path 2026-10-27 01:07:34 -04:00
internal-wireguard-services.md fix(networking): make the public gateway :8080 WireGuard-only 2026-11-27 00:09:14 -05:00
monitoring-dashboards.md monitoring: suppress the dead kubelet_volume_stats rules in kubernetes-storage 2026-10-27 02:22:46 -04:00
site-image-pinning.md apps: re-pin the contact APIs to their new :sha tags 2026-11-02 18:09:48 -05:00