问:关于iptables内存中规则保存的问题

由 txkss 在 10-01-2004 11:00 发表:

问:关于iptables内存中规则保存的问题

资料中强调了一个这样的操作

使用/sbin/iptables-save > /etc/sysconfig/iptables

可以将内存中的内核规则集放到iptables这个iptables守护进程调用的默认规则集文件中

我现在使用的是RedHat AS3我在/etc/sysconfig并没有发现这个文件啊

请问大家默认情况下这个文件是不存在的吗?

是不是我们要通过重定向操作自己来建立啊

请大家指教

谢谢


由 Snoopy 在 10-04-2004 21:09 发表:


做个脚本加到/etc/rc.local就行了


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 rori 在 10-05-2004 10:31 发表:


在rc.local中加入以下语句

cd /etc/sysconfig

iptables-restore iptables

首先你得先用iptables-save保存过正在运行的iptales。

呵呵。。好运。。


一切从基础开始


由 rori 在 10-05

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus