iptables help

Jessica Zhu jessica at mathforum.org
Fri May 13 19:35:19 UTC 2005


Ok. Here it is. I need to do the save first and then editing the file. 
After this, the restart will bring the new file in effection.

Thanks, Bill!

Jessica

On Fri, 13 May 2005, Jessica Zhu wrote:

> I just did your suggestion. Still no effection. What's else I should do?
> 
> Thanks!
> 
> Jessica
> 
> On Fri, 13 May 2005, Bill Tangren wrote:
> 
> > Jessica Zhu wrote:
> > > Hi,
> > > 
> > > I tried to customize and set up firewall using iptables on Red Hat 
> > > Enterprise Linux ES release 3. The file /etc/sysconfig/iptables got 
> > > edited. After I finished editing, I restarted service using 
> > > /etc/init.d/iptables restart or service iptables restart. However, though 
> > > it's got successfully restarted, when I checked the status, none of my 
> > > editing taking effection. 
> > > It's weired. For example, the default chain INPUT, OUTPUT and FORWARD all 
> > > are ACCEPT, down in new iptables I edited, it's like as follows,
> > > 
> > > *filter
> > > :INPUT DROP
> > > :FORWARD DROP
> > > :OUTPUT ACCEPT [0:0]
> > > 
> > > But nothing take effection after iptables got restarted. What happened?
> > > 
> > > Jessica
> > > 
> > 
> > You need to save the changes:
> > 
> > # service iptables save
> > 
> > before you stop and restart the service.
> > 
> > HTH,
> > Bill
> > 
> > 
> 
> 




More information about the redhat-list mailing list