永久关闭Linux的防火墙

重启网络服务,加载网卡配置文件
systemctl restart network

清空防火墙规则
iptables -F

关闭selinux防火墙
vi /etc/selinux/config
修改如下配置
SELINUX=disabled
重启服务器
reboot
原文地址:https://www.cnblogs.com/RootEvils/p/10194848.html