mise bootstrap firewall
- Usage:
mise bootstrap firewall <SUBCOMMAND> - Effect: read-only
- Source code:
src/cli/bootstrap.rs
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 statusShow the policy and rules that would change
mise bootstrap firewall apply --dry-runSubcommands
mise bootstrap firewall apply [-n --dry-run] [-y --yes]mise bootstrap firewall status [-J --json] [--missing]