Redhat、CentOS防火墙相关命令
1、防火墙状态查看
service iptables status
2、关闭防火墙
service iptables stop
3.禁用防火墙
chkconfig iptables off
Oracle Linux关闭防火墙相关命令
关闭防火墙
[root@localhost ~]# systemctl stop firewalld.service
禁止防火墙开机启动
[root@localhost ~]# systemctl disable firewalld.service