CentOS7关闭防火墙
2018-10-28 本文已影响0人
柠檬茶多点茶不要柠檬
CentOS 7.0默认使用的是firewall作为防火墙
查看防火墙状态
sudo firewall-cmd --state
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service
CentOS 7.0默认使用的是firewall作为防火墙
查看防火墙状态
sudo firewall-cmd --state
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service