CentOS 7 关闭防火墙(永久) systemctl stop firewalld.service systemctl disable firewalld.service 重启虚拟机或重启网络, 即可