Where is this new RedHat ipchains script?  I thought rc.local was the
last thing run at startup.  If so, running ipchains -F first should
get rid of everything and then run your ipchains script - correct?

Thanks,
Dave


> From: Brian Ashe <[EMAIL PROTECTED]>
> 
> Hello Edward,
> 
> I had the same problem. I was in a hurry to get the thing running, probably
> should have stuck with 6.1, but I didn't know it was going to be different, so I
> didn't document the differences very well but here it goes anyway. Hopefully
> I give you the right info.
> 
> Here is what I noticed/did.
> 
> Apparently, Redhat decided to make a nice little SysV script for ipchains.(I
> ,at least, did not know it was there when I started.)
> The first thing this script does is wipe out user defined rules.
> So after muddling along wondering why my rc.local stuff wasn't working I
> finally read the script.
> What I did was just go with the flow.
> I put the "echo "1" > /proc/sys/net/ipv4/ip_forward" in rc.local.
> Then I entered my rules on the command line.(It was just easier that way. If
> there are a lot of rules you may want to edit the file directly.)
> Then I executed "/etc/rc.d/init.d/ipchains save" and it writes the file in
> "/etc/sysconfig/ipchains".
> I then restarted, network and inet and it worked. These last two things may
> not be necessary, but I did them, and like I said I wasn't paying a lot of
> attention I just wanted it up and running fast and get out.

<snip>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to