https://www.jb51.net/article/101576.htm
永久关闭防火墙
开启: chkconfig iptables on
关闭: chkconfig iptables off
暂时关闭防火墙 重启复原
开启: service iptables start<br /> 关闭: service iptables stop
上面俩命令在精简版linux中可能无法运行,下面绝对有效
systemctl stop firewalld
systemctl status firewalld
systemctl disable firewalld #禁止firewall开机启动