If you have set up ipchains from the RH7.0 RPM you should be able to use the
command scripts in:
/etc/rc.d/init.d
So you can use:
/etc/rc.d/init.d/ipchains save
after you applied your manually entered chains. This will save the currently
active IPCHAINS and apply them on startup of your machine.
I personally use:
/etc/r*/*/ipchains save
and instead of only relying on this script I also have my own script, that I
ammend when I need to make changes. Then I run my script. When I am happy
with the functionality I run /etc/r*/*/ipchains save, which should bring
RH's and my firewall script in tune.
Hope this helps
Bernhard Lüder
This electronic mail is solely for the use of the addressee and may contain
information that is confidential or privileged. If you receive this
electronic mail in error, please delete it from your system immediately and
notify the sender by electronic mail.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Scott Ragen
Sent: Saturday, March 10, 2001 8:11 AM
To: [EMAIL PROTECTED]
Subject: [SLUG] ipchains
I have a small problem with ipchains, i can create a simple rule, apply
it, but it does not save.
how do I achieve this? I have tried ipchains-save, after a reboot (which
my g/f does a lot because she compares it to windows). even
ipchains-restore
doesn't restore it afterwards.
I am wondering if it could be anything to do with my file system,
because
on bootup it when mounting it says "couldn't find matching file system:
label=/" this seems to prohibit a disk check after a hard reboot, and
sometimes doesn't keep file permissions I have set. this problem seemed
to come around when I tried to install kernel 2.4.2 (and failed) and
when I removed my dos partition from lilo.
Is both these problems anyway linked? or have I just missed the part on
howto save a rule for ipchains, else does it need a script?
I run Redhat 7.0
Thanks for any replys, please send to this address, as I have not setup
a my work account which is on slug here yet.
Regards,
Scott
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug