Thanks. I have made it, I edited a similar script in the /etc/rc.d, then
call it in rc.local. Thanks anyway.
Shu
Dave Helton wrote:
> On Thu, 24 Jun 1999, Shu Xiao wrote:
>
> > Hi, All!
> >
> > My setting of ipchains disappears once reboot. Please advise how
> > to make the ipchains setting permannent.
> >
>
> in /etc/rc.d/rc.local I have the following...
>
> ----------
> # Install IPCHAINS code to MASQ and FIREWALL our ppp connection
> if [ -f /etc/chains.input ] && [ -f /usr/sbin/ipchains-restore ] ; then
> echo -n "Restoring Ipchains rules..."
> /usr/sbin/ipchains-restore -v </etc/chains.input
> echo "done."
> fi
> ----------
>
> My firewall rules file is /etc/chains.input
> You will need the ipchains-restore and ipchains-save scripts.
> They may come with the newer dists, I am not sure as I use an older
> version.
>
> --Dave
>
> -----------------------------------------------------------------------
> Dave Helton, KD0YU - [EMAIL PROTECTED] - http://www.kd0yu.com
> Real World Computing - 319-386-4041 - 8am-5pm CST
> -----------------------------------------------------------------------
> _
> / / (_)__ __ ____ __
> / /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a
> /____/_/_//_/_,_/ /_/_\ G N U g e n e r a t i o n . .
> -----------------------------------------------------------------------
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]