Usage: ufw COMMAND Commands: enable enables the firewall 开启ufw防火墙 disable disables the firewall 禁用防火墙 default ARG set default policy 设置默认的策略 logging LEVEL set logging to LEVEL 记录级别 allow ARGS add allow rule 添加允许的规则 eg : ufw allow ssh deny ARGS add deny rule 添加禁止的规则 eg : ufw deny 80 reject ARGS add reject rule 添加拒绝的规则 eg : ufw reject mysql limit ARGS add limit rule 添加限制的规则 delete RULE|NUM delete RULE insert NUM RULE insert RULE at NUM route RULE add route RULE route delete RULE|NUM delete route RULE route insert NUM RULE insert route RULE at NUM reload reload firewall 重新加载防火墙(不清除规则) reset reset firewall 重置防火墙 (清除规则) status show firewall status 防火墙规则列表 status numbered show firewall status as numbered list of RULES #按序号列出规则 status verbose show verbose firewall status show ARG show firewall report 状态报告 version display version information 展示状态信息 Application profile commands: app list list application profiles app info PROFILE show information on PROFILE app update PROFILE update PROFILE app default ARG set default application policy