CentOS7.0默认使用firewall作为防火墙
查看防火墙
firewall-cmd --state
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service
重新启动正在运行的Linux操作系统(防火墙已关闭)
reboot
CentOS7.0默认使用firewall作为防火墙
查看防火墙
firewall-cmd --state
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service
重新启动正在运行的Linux操作系统(防火墙已关闭)
reboot