IPtables rules get reset

Support for security such as Firewalls and securing linux
Post Reply
syd_bllyne
Posts: 1
Joined: 2006/10/28 05:29:41

IPtables rules get reset

Post by syd_bllyne » 2006/10/28 05:36:47

Hi,
I have installed Centos 4.3 Server Edition on a number of servers. The problem I face is that the iptables rules get deleted every 15 -20 minutes. This is a problem becoz the rules configured on the server get deleted. Could sumone help me ???? I'm in a fix. Never faced this problem with Redhat 9. I am in the process of upgrading to CentOS 4.3 Server Edition. Can't understand why the iptables firewall rules get cleared on it's own and the two or three rules configured disappear

Awaiting for sum1 to help me out..

From,
Syd

Goldbarry
Posts: 61
Joined: 2007/01/08 20:10:37

Re: IPtables rules get reset

Post by Goldbarry » 2007/01/09 19:29:41

hey

try iptables-save. should save you changes.

yyagol
Posts: 1015
Joined: 2006/06/10 18:27:44
Location: 32 4′N 34 47′E
Contact:

IPtables rules get reset

Post by yyagol » 2007/01/22 19:25:14

This will do your trick
[code]
# service iptables save
Saving firewall rules to /etc/sysconfig/iptables: [ OK ]
[/code]

Post Reply

Return to “CentOS 4 - Security Support”