iptables resets automaticaly
I have tried Googling but not luck in finding the right answer for my problem.
We have FC4 Distro installed on one of our Server box. I have imported the roles that I made with iptables-save -c > /etc/sysconfig/bllbllarules.
It saves it and everything seems fine. After 12 hours or so the rules are set from the ones I saved to some other rules that I made as a temp job by just adding them manually. Once I reload the rules with service iptables restart the rules that I imported come back (i.e reads them from /etc/sysconfig/iptables), but again after some time they revert back to the old rules.
I have checked the init.d and rc3.d (i created a S09iptables symbolic link to start them up) and they all seem to point to the right place including the service script. I have searched for other "iptables" but they too seem to point to only one process.
Just to note rules go back to the old one if you reboot the system.
We have Plesk installed and I have removed its "psa-firewall" module, but that did not help.
This is strange as we have other FC4 boxes and they have same version/modules (identical image), but they work fine.
One other note, if I just hit iptables-save without the > directive it will not save them to /etc/sysconfig/iptables unless that is what iptables-save does? (maybe different default)
The cron has only some system log rotations that we have set (ftp, httpd, smpt, bandwidth etc.). Unless the bandwidth cron has something to do with it, that I have no idea.
Anyhow the story is long but I offered as much insight as possible.
|