[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: ipchains
> it has a ipchains-save mechanism. i use it to ipchains-restore the
> configuration but I want it to be permanent till i change it again.
> If there is no other way, i want to put this ipchains-restore command
> at startup. How do i do this?
Create a shell script called /etc/rc.d/rc.fw and put the commands related
to ipchains into that. Make sure the file is executable (chmod +x
/etc/rc.d/rc.fw).
Then call this script from /etc/rc.d/rc.local - it will then be run at
startup.
Atul
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.
------------------------------