service iptables status ;
systemctl status firewalld;
关闭防火墙命令:systemctl stop firewalld.service
开启防火墙:systemctl start firewalld.service
关闭 开机自启动:systemctl disable firewalld.service
开启 开机启动:systemctl enable firewalld.service
service iptables status ;
systemctl status firewalld;
关闭防火墙命令:systemctl stop firewalld.service
开启防火墙:systemctl start firewalld.service
关闭 开机自启动:systemctl disable firewalld.service
开启 开机启动:systemctl enable firewalld.service