The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IPTABLES Confusion ??

Discussion in 'General Discussion' started by Roadrunna, Nov 26, 2006.

  1. Roadrunna

    Roadrunna Registered

    Joined:
    Sep 27, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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,
     
  2. celliott

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
  3. Roadrunna

    Roadrunna Registered

    Joined:
    Sep 27, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
Loading...

Share This Page