Hello,

Did you do an 'iptables-save' ? or perhaps a 'service iptables save' ?
Saving your iptables rules also depend on the version of your iptables and
on what distro. However, you can save your iptables rules to a file using:

#iptables-save -c /etc/iptables.rules

Restore the rules from the saved iptables rule file by:

#cat /etc/iptables.rules | iptables-restore -c

You can also incorporate the iptables restore command into a shell script
that you can incorporate into the script that starts your firewall.

What distro are you using?


On 5/3/07, Jason Yap <[EMAIL PROTECTED]> wrote:

Ei bei akong amigo naay pangutana about Linux pero dli sya ka send sa
[EMAIL PROTECTED]

Hope matabangan ninyo sya.

nara iyang message

---------- Forwarded message ----------
From: Denmark Jan Sanchez <[EMAIL PROTECTED]>
Date: May 3, 2007 5:19 PM
Subject: [klug] LINUX FIREWALL iptables
To: [EMAIL PROTECTED]

Good aftenoon!

Pax Christi

I'm a newbie on linux, and i want to ask if you have a solution on my
problem regarding linux firewall.

Everytime i start my firewall... all of my rules flushed.
my problem is that.. what are the instances  why are my rules are getiing
flush and why is that ?

Hoping for a response.
thank you and more power!

--
" Reality is too cruel, too brutal.
I don't even have the right to dream.
As i think about the future, the tears will come out again."
- Aya Ikeuchi
  1 Litre of Tears

--
"Just being alive is such a lovely and wonderful thing."
_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://cdo.linux.org.ph)
Searchable Archives: http://archives.free.net.ph




--
"A dog that has no bite, barks loudest."
Registered Linux User #400165
http://baudizm.blogsome.com
http://phossil.ifastnet.com
Subscribed to:
LARTC, Open-ITLUG, PRUG, KLUG, sybase.public.ase.linux

SHA256: 857dd62339c9fe27460b725747dfe25d5612933f7d879c35fb0cba2dadaf972f
_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://cdo.linux.org.ph)
Searchable Archives: http://archives.free.net.ph

Reply via email to