1, 查看下防火墙的状态:
systemctl status firewalld
2, 关闭防火墙:
systemctl stop firewalld
3, 启动iptables
systemctl start iptables
4, 禁止开机自动启动防火墙
systemctl disable firewalld.service
1, 查看下防火墙的状态:
systemctl status firewalld
2, 关闭防火墙:
systemctl stop firewalld
3, 启动iptables
systemctl start iptables
4, 禁止开机自动启动防火墙
systemctl disable firewalld.service