查看防火墙状态:
[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
本文详细介绍了在CentOS系统中如何使用iptables命令来查看、开启、关闭及重启防火墙的状态,为系统管理员提供了实用的操作步骤。
616

被折叠的 条评论
为什么被折叠?



