跳转到内容

mise bootstrap firewall ​

从 [bootstrap.linux.firewall] 管理 Linux 主机防火墙

Works with nftables, firewalld, or UFW, and keeps mise's rules separate from other host rules. Over SSH, mise refuses a default incoming policy of deny or reject unless a rule allows the current connection or the config sets allow_lockout = true. Check apply --dry-run before applying a policy to a remote machine.

标志 ​

  • -h --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 ​

相关文档 ​