centos关闭防火墙命令
centos6
service iptables stop #关闭命令
chkconfig iptables off # 永久关闭防火墙
centos7
systemctl stop firewalld.service #关闭防火墙
systemctl disable firewalld.service #关闭开机启动
积累知识,创造财富
service iptables stop #关闭命令
chkconfig iptables off # 永久关闭防火墙
systemctl stop firewalld.service #关闭防火墙
systemctl disable firewalld.service #关闭开机启动