查看防火墙状态:
[root@centos6_studio ~]# service iptables status
临时关闭防火墙:
[root@centos6_studio ~]# service iptables stop
永久关闭防火墙:
[root@centos6_studio ~]# service iptables off
开启防火墙:
[root@centos6_studio ~]# service iptables start
重启防火墙:
[root@centos6_studio ~]# service iptables restart