ubuntu上防火墙的关闭与开启的命令

查看防火墙状态

sudo ufw status

开启/关闭防火墙 (默认设置是’disable’)

sudo ufw enable|disable

你可能感兴趣的:(ubuntu上防火墙的关闭与开启的命令)