iptables 问题????

由 xiweihua 在 04-11-2003 10:10 发表:

iptables 问题????

我设置好了IPTABLES,但是不知道如何保存,我看上面有贴子说,可以用iptables-save /etc/sysconfig/iptables 就可以了,但是我用这个总是保存不了,不知道为什么??


由 iamok@ccf 在 04-11-2003 10:12 发表:


iptables通过命令行来实现各种功能...命令行可以保存在一个脚本中....

可以通过直接编辑/etc/init.d/iptables来改变iptables的功能...也可以单独写一个脚本

然后在/etc/rc.local中加载为启动运行...


由 xiweihua 在 04-11-2003 10:20 发表:


我如何加载到rc.local中让它启动呢?


由 NetSnake 在 04-11-2003 10:41 发表:


很简单啊,比如iptables脚本

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