关闭ubuntu防火墙 ufw disable 开启ubuntu防火墙 ufw enable 如果提示需要root用户权限,可参照上一篇文章–ubuntu16.04默认使用root登录 ubuntu16.04默认使用root登录