UFW
安装
# pacman -S ufw
自启动
# systemctl enable --now ufw.service # systemctl disable iptables # systemctl stop iptables
添加
# ufw default deny incoming # ufw default allow/deny outgoing # ufw allow 22/tcp # ufw enable
删除
# ufw delete allow 22/tcp
查看
# ufw status