Skip to content

Commit 8b6be44

Browse files
tomassrnkaclaude
andcommitted
fix(orch): disable the NixOS firewall so envd stays reachable
NixOS is the only supported family that enables a firewall by default; the other families install iptables/nftables for user workloads but never filter. Left on, it drops the orchestrator's connection to envd (TCP 49983) and every customer-exposed sandbox port, so sandboxes boot but are unreachable. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 19406c2 commit 8b6be44

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • packages/orchestrator/pkg/template/build/phases/base/distro/nixos-base-image

‎packages/orchestrator/pkg/template/build/phases/base/distro/nixos-base-image/configuration.nix‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
# eth0 is configured by the kernel command line (ip=...); nothing to manage.
1616
networking.useDHCP = false;
1717
networking.resolvconf.enable = false;
18+
# NixOS is the only family that enables a firewall by default — provision.sh
19+
# installs iptables/nftables for user workloads but never filters. Leaving it on
20+
# would drop the orchestrator's connection to envd (TCP 49983) and every
21+
# customer-exposed sandbox port; isolation is enforced by the E2B network layer.
22+
networking.firewall.enable = false;
1823
# The E2B rootfs layer bakes an immutable /etc/resolv.conf; NixOS must not
1924
# try to regenerate it at activation.
2025
environment.etc."resolv.conf".enable = false;

0 commit comments

Comments
 (0)