homek8s/infrastructure/networking/internal
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
..
dns internal DNS: lab.internal resolver on the WG hub (dnsmasq on rpi) 2026-10-27 01:03:42 -04:00
host-firewall fix(networking): make the public gateway :8080 WireGuard-only 2026-11-27 00:09:14 -05:00
gateway-customer1-metabase.yaml apps(customer1): anonymize client name — farrisilk -> customer1 2026-11-24 01:46:25 -05:00
gateway-customer1-odoo.yaml apps(customer1): anonymize client name — farrisilk -> customer1 2026-11-24 01:46:25 -05:00
gateway-hubble-ui.yaml docs: Hubble UI on 8084, verified end-to-end by bare IP; correct the 8084 comment 2026-10-27 00:51:43 -04:00
gateway-metabase.yaml apps(metabase): deploy Metabase (WireGuard-only :8085) with CNPG app DB 2026-11-22 00:32:31 -05:00
gateway.yaml hubble: move the UI listener to 8084 — 8082 is taken on rpi 2026-10-27 00:44:36 -04:00
kustomization.yaml apps(customer1): anonymize client name — farrisilk -> customer1 2026-11-24 01:46:25 -05:00
namespace.yaml feat: internal-only Cilium Gateway on WG overlay for private services 2026-09-15 00:18:58 -04:00