From bc6353c232e2bb5070a6585257d3626852819396 Mon Sep 17 00:00:00 2001 From: atlas Date: Sat, 4 Jul 2026 21:18:57 +0200 Subject: [PATCH] docs(network): fix stale '(shared netns)' in bridge firewall table row MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The parenthetical was backwards — this rule opens bridge ports so *isolated* agents (in private netns, connected via veth) can reach nginx. Remove the misleading '(shared netns)' tag, replace with the accurate description. --- docs/network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/network.md b/docs/network.md index 62286be5..e87e5802 100644 --- a/docs/network.md +++ b/docs/network.md @@ -110,7 +110,7 @@ the nix side sets up unconditionally: | IP forwarding | `boot.kernel.sysctl."net.ipv4.ip_forward" = 1` | | Internet NAT | `networking.nat { enable = true; internalInterfaces = [ bridgeName ]; }` — MASQUERADE on packets leaving via any external NIC | | Loopback DROP | `networking.firewall.extraInputRules` — drops bridge-subnet → `127.0.0.0/8` traffic; defence-in-depth against routing table leaks | -| Gateway access | `networking.firewall.interfaces..allowedTCPPorts = [ 80 443 ]` — lets isolated agents reach nginx on the host (shared netns) | +| Gateway access | `networking.firewall.interfaces..allowedTCPPorts = [ 80 443 ]` — lets isolated agents (private netns, veth on bridge) reach nginx on the host | | c0re signal | `HIVE_NETWORK_ISOLATION=1`, `HIVE_NETWORK_BRIDGE`, `HIVE_NETWORK_SUBNET` in `systemd.services.hive-c0re.environment` | `HIVE_NETWORK_SUBNET` is the host-side bridge IP + prefix (e.g.