环境:centos5.4
终端里运行setup,在firewall configuration里:iptables的状态是 Disabled
在System services里iptables设置的是启动的。而且
[root@localhost ~]# chkconfig --list |grep iptables
iptables 0:off 1:off 2:on 3:on 4:on 5:off 6:off
那么为什么系统启动后我查看iptables的状态时停止的呢(系统运行在级别3上)
[root@localhost ~]# service iptables status
Firewall is stopped.
[root@localhost ~]#
关于iptables自启动的问题
- lldonger
- 帖子: 101
- 注册时间: 2010-10-15 15:42
- nkadun
- 帖子: 444
- 注册时间: 2008-06-10 12:40
-
- 帖子: 641
- 注册时间: 2005-11-10 19:12
Re: 关于iptables自启动的问题
实在不行就写在/etc/rc.local里面