Mailing List Archive


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

Re: [tlug] IPTables



On Thu, 13 Feb 2003 20:42, Jean-Christian Imbeault wrote:
> One thing I haven't been able to find a suitable answer to is what is
> the proper way to get iptables up and running at boot time with rules
> loaded (on a RH 8.0 machine)?

iptables has two extra tools (at least on mdk and rh) called iptables-save and 
iptables-restore.

These export and import the chains you have set up. The output of 
iptables-save can be put in a file and later read into iptables-restore.

eg:
iptables-save > myiptables
iptables-restore < myiptables

However, the initscripts for iptables (/etc/init.d/iptables) on both mandrake 
and redhat have extra commands "save" and "iptables start" will restored the 
saved configuration (which gets saved in /etc/sysconfig/iptables).

-- Sam

-- 
--
Sam Tilders
sam@example.com

Cogito Ergo Sum - I think, therefore I am.  (Descartes)


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links