hubble: bare-IP listener (8082) for the UI + WireGuard-only firewall on both gateway nodes
Operator addendum: internal services must be reachable by bare IP+port, because a phone cannot edit /etc/hosts. A hostname-scoped route does not match `Host: 10.10.0.2:8081` (Envoy 404), and a hostname-less `PathPrefix /` cannot share a listener with it — so hubble-ui gets its own listener (`hubble-ui`, port 8082) with a route that sets no hostnames. http://10.10.0.2:8082/ and http://hubble.lab.internal:8082/ both hit the UI. Firewall: siriussec nft table now matches `dport { 8081, 8082 }` and starts with `destroy table` so re-running the unit replaces (not appends) the rules; the rpi ufw script is generalised to a PORTS list and inserts each port above the LAN catch-all. Both hosts applied and verified before the listener was programmed. docs: internal gateway section, host-firewall README.
This commit is contained in:
parent
41161d82a1
commit
7ca85669b2
8 changed files with 83 additions and 43 deletions
|
|
@ -282,7 +282,9 @@ A single `ReferenceGrant` exists (`gateway-system/forgejo`) for the cross-namesp
|
|||
|
||||
### 4.6 Second gateway: `internal`
|
||||
|
||||
`internal/internal` (namespace `internal`) is a Cilium Gateway on **port 8081** with no HTTPRoute attached and no tunnel mapping *(live)*. It is a spare private listener, currently unused.
|
||||
`internal/internal` (namespace `internal`) is a Cilium Gateway on **port 8081**, `allowedRoutes: All`, with no tunnel mapping. It carries the WireGuard-only services — currently **Grafana** (`http://grafana.lab.internal:8081/`) and **Hubble UI** (`http://hubble.lab.internal:8081/`). The enforcement point is the *host* firewall on both gateway nodes (nft `table inet internal_gw` on siriussec, ufw rules above the LAN catch-all on rpi), not the Gateway: a listener port is reachable on every node address the moment it is Programmed. Full pattern, negative tests and the add-next-service recipe: `docs/internal-wireguard-services.md`.
|
||||
|
||||
Neither hostname is in the cloudflared ingress list, and `*.lab.internal` resolves nowhere public — `Host: <name>.lab.internal` on the public gateway (`10.10.0.2:8080`) answers **404**.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue