<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Sir,<br>
<blockquote cite="mid20050701092604.EF36C7412B@hormel.redhat.com"
 type="cite">
  <pre wrap="">Message: 21
Date: Thu, 30 Jun 2005 16:44:19 -0700
From: Jeff Nelson <a class="moz-txt-link-rfc2396E" href="mailto:jeffnels@gmail.com"><jeffnels@gmail.com></a>
Subject: [K12OSN] problems with iptables
To: <a class="moz-txt-link-abbreviated" href="mailto:k12osn@redhat.com">k12osn@redhat.com</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:e6d9e5ea05063016449f46176@mail.gmail.com"><e6d9e5ea05063016449f46176@mail.gmail.com></a>
Content-Type: text/plain; charset="iso-8859-1"

Hi all,

We've been having some problems with iptables on our K12LTSP system. It
doesn't save the firewall, even with "service iptables save," so when the
server is rebooted or if anyone does "service network restart," the iptables
rules are somehow flushed and we have to run the firewall script again
manually.

We're running a pretty stock K12LTSP 4.2.1. Kernel-2.6.10

Does anyone have an idea as to what could be going wrong?

Thanks,

Jeff Nelson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="https://www.redhat.com/archives/k12osn/attachments/20050630/158c4f01/attachment.htm">https://www.redhat.com/archives/k12osn/attachments/20050630/158c4f01/attachment.htm</a>

------------------------------

Message: 22
Date: Fri, 1 Jul 2005 07:11:05 +0530
From: Sudev Barar <a class="moz-txt-link-rfc2396E" href="mailto:sbarar@gmail.com"><sbarar@gmail.com></a>
Subject: Re: [K12OSN] problems with iptables
To: Jeff Nelson <a class="moz-txt-link-rfc2396E" href="mailto:jeffnels@gmail.com"><jeffnels@gmail.com></a>,       "Support list for opensource
        software in schools." <a class="moz-txt-link-rfc2396E" href="mailto:k12osn@redhat.com"><k12osn@redhat.com></a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:774593a2050630184159fbc98d@mail.gmail.com"><774593a2050630184159fbc98d@mail.gmail.com></a>
Content-Type: text/plain; charset=ISO-8859-1

On 7/1/05, Jeff Nelson <a class="moz-txt-link-rfc2396E" href="mailto:jeffnels@gmail.com"><jeffnels@gmail.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> We've been having some problems with iptables on our K12LTSP system.  It
doesn't save the firewall, even with "service iptables save," so when the
server is rebooted or if anyone does "service network restart," the iptables
rules are somehow flushed and we have to run the firewall script again
manually.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Is the service iptables set to eun every time?
Right now I am on an Ubuntu box so cannot trace the command but man
for something like "chkconfig". The command is something like
"chkconfig --level 35 iptables"
Alternatively run "setup" as root and in services enable the iptables
as service. This will make it run at boot time.
  </pre>
</blockquote>
rightly said, <br>
<br>
1)  check wether it is enabled for run level in which you are running
your server.    <br>
     "chkconfig --level 35 iptables"  OR for temp solution do "service
iptables start/restart"<br>
2) could check the status<br>
     "service iptables status"<br>
3) save your settings as <br>
     iptables-save > your_iptable_rules<br>
4) check wether " /etc/sysconfig/iptables" exists, if yes make a backup
of it.<br>
      now put your rules as "iptables-restore < your_iptable_rules"<br>
     can also use "service iptables save"<br>
at last i would suggest you to see "/etc/init.d/iptables" script.<br>
<br>
hope this will help a bit.<br>
<br>
regards,<br>
<br>
Bimal Pandit<br>
<br>
</body>
</html>