QUOTE:原帖由 jerrywjl 于 2008-4-22 10:00 发表

我估计你的iptables服务就没有开。你把服务先确认开启,然后再导出。
重新启动:
[root@localhost ~]# chkconfig --list | grep iptables
iptables 0ff 1

ff 2

n 3

n 4

n 5

n 6

ff

[root@localhost sysconfig]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT esp -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
这证明iptables服务是开的吧??
[root@localhost sysconfig]# pwd
/etc/sysconfig
[root@localhost sysconfig]# rm 1.txt
[root@localhost sysconfig]# iptables-save > 1.txt
[root@localhost sysconfig]# cat 1.txt
[root@localhost sysconfig]#
还是空 .......................