Skip to content

mise bootstrap firewall ​

Manage the host firewall from [bootstrap.linux.firewall] or [bootstrap.macos.firewall]

On Linux it works with nftables, firewalld, or UFW, and keeps mise's rules separate from other host rules. On macOS it drives the Application Firewall with socketfilterfw. Over SSH, mise refuses a policy that would block the current connection unless the config sets allow_lockout = true. Check apply --dry-run before applying a policy to a remote machine.

Flags ​

  • -h --help — Print help

Examples ​

Show the firewall's state

mise bootstrap firewall status

Show the policy and rules that would change

mise bootstrap firewall apply --dry-run

Subcommands ​

MIT LicenseCopyright © 2026jdx.dev