On 19 Sep 2000, Harry Putnam wrote:
> > I modified my ipchains startup in init.d to call ipchains save before
> > flushing. That way the rules you add get stored before the flush, and
> > get re-added on load.
>
> Can you explain... I see no mention of this in `man ipchains'
Its not an ipchains command, sorry, wasn't clear enough. Ipchains
from RPM on a RedHat box has a file /etc/rc.d/init.d/ipchains which
can take several arguments (start, stop, save etc). Looking at the
init file, it just calls /sbin/ipchains-save, with a redirect to a
file. The end result is a file that contains the rulesets and the
rules within them that can then be read by ipchains at boot etc.
Without the file, the rules you set do not persist across reboots (at
least, mine never did).
HTH
--
Duncan Hill Sapere aude
My mind not only wanders, it sometimes leaves completely.
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]