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

Re: [cobalt-users] Annoying email "service" seems to be "servicing" my RaQ3



> > >From the command line:
> >
> >#  ipchains -A input -j DENY -p all -l -s 64.32.63.34/32 -d 0.0.0.0/0
> >
> >You can append that to /etc/rc.d/rc.local  to have it be there after a
> >reboot.
> >
> >_____
>
> Assume I am dumb.  What exactly would I put in the rc.local?

Assuming you're not and you have ipchains installed, just use the command
line version and after that do

# /etc/rc.d/init.d/ipchains save

This will save the current entries in a file somewhere. After a reboot, the
ipchains "startup" script will read them in again.

Jelmer