使用命令查看当前防火墙状态:停止防火墙服务:
1. 使用命令查看当前防火墙状态:
shell
sudo systemctl status firewalld
2. 停止防火墙服务:
shell
sudo systemctl stop firewalld
3. 禁用防火墙服务,使其在重启后不再自动启动:
shell
sudo systemctl disable firewalld
4. 永久关闭防火墙:
shell
sudo iptables -F
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(62条)