Roadrunna

Registered
Sep 27, 2006
2
0
151
Hiya,

I've got a bit of a problem with IPTABLES.

I'm running Cpanel\WHM on a Fedora 4 setup on my own dedicated server. It's a self install by myself so no special stuff by the hosts.

Every time I add rules to IPTABLES e.g. "iptables -A INPUT -s 85.195.119.14 -j REJECT"
the rule goes in and works fine.

After a minute, the rules are flushed and it's empty again.


Any idea what's clearing the rules or where to start looking ?

Any help appreciated.

Thanks,
 

celliott

Well-Known Member
Jan 2, 2006
459
0
166
United Kingdom
If you have a firewall installed (which you should), make sure its not running on testing/dev mode as that will cause Iptables to be flushed every few minutes.
 

Roadrunna

Registered
Sep 27, 2006
2
0
151
Cheer, That worked.

I'd had a play around with APF a while ago but never got around to finishing.

Checked the logs and it was running in dev mode.

Sorted now.