[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] IPChains Firwall Help after HACK




> > 3) How should I call up the script..? I normally add start-up lines to
> > /etc/rc.d/rc.local for various programs I want called at boot.. Should
> > I just drop this file into /etc as say rc.firewall then add a line to
> > rc.local that calls up the script upon boot? I wasn't sure if it
> > needed to be loaded early during the boot process...

i'm no expert (just learned all this yesterday) .. but .. it is suggested in
the ipchains howto to make a script in init.d and link to it from rc3.d,
using a SXX number prior to SXXnetwork.

so on my server i set things up thus:

lrwxrwxrwx   1 S09netfilter -> ../init.d/netfilter
lrwxrwxrwx   1 S10network -> ../init.d/network


there appears to be another common method using an "rc.firewall" but
rc.local is run after everything else, which leaves a window open during
reboot.