CentOS7自带了firewalld,可以使用以下命令操作防火墙
1.状态
systemctl status firewalld
2.启动
systemctl start firewalld
3.停止
systemctl stop firewalld
4.开启开机启动
systemctl enable firewalld
5.禁用开机启动
sytemctl disable firewalld
CentOS7自带了firewalld,可以使用以下命令操作防火墙
1.状态
systemctl status firewalld
2.启动
systemctl start firewalld
3.停止
systemctl stop firewalld
4.开启开机启动
systemctl enable firewalld
5.禁用开机启动
sytemctl disable firewalld