Skip to content

feat: make the egress firewall optional - #7

Merged
awgymer merged 1 commit into
masterfrom
feat/optional-firewall
Jul 14, 2026
Merged

awgymer merged 1 commit into
masterfrom
feat/optional-firewall

Conversation

@awgymer

@awgymer awgymer commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Add an enable_firewall copier question (default true, preserving current behaviour). When disabled, the template omits the firewall entirely:

  • init-firewall.sh and extra-allowed-domains are not rendered (conditional filenames)
  • the Dockerfile skips the iptables/ipset tooling, the firewall script COPY, and the sudoers entry
  • devcontainer.json drops the NET_ADMIN/NET_RAW capabilities
  • startup.sh no longer invokes the firewall (now templated as .jinja)

Tests cover both the enabled-by-default and disabled paths.

Add an enable_firewall copier question (default true, preserving current
behaviour). When disabled, the template omits the firewall entirely:

- init-firewall.sh and extra-allowed-domains are not rendered (conditional
  filenames)
- the Dockerfile skips the iptables/ipset tooling, the firewall script COPY,
  and the sudoers entry
- devcontainer.json drops the NET_ADMIN/NET_RAW capabilities
- startup.sh no longer invokes the firewall (now templated as .jinja)

Tests cover both the enabled-by-default and disabled paths.
@awgymer
awgymer merged commit f08bbdd into master Jul 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant