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.

APF and Multiple IPs with Cpanel - How?!

Discussion in 'General Discussion' started by JonathanLIVE, Oct 27, 2008.

  1. JonathanLIVE

    JonathanLIVE Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I used to use APF... until I found it to be as effective as hiding behind a rosebush from a shotgun when scanners and hackers would hit a server that has multiple IP addresses aliased to it.

    APF only binds to the main server IP and completely ignores cpanels ipalias IPs.

    So when a scanner hits a server with something like 32 or more IPs, it gets hit hard enough to degrade the servers performance significantly.. at times if they are more aggressive they even bring down a server.

    I went through documentation, but found no solution to have APF bind to multiple IPs on a server.

    I could be totally wrong.. but it would be great if someone managed to do this. The only thing that seems to work system wide is iptables.. but that is difficult to configure.

    Can anybody offer a howto for having APF cover multiple IP addresses on a Cpanel server?

    Thanks!
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  3. Alexandre

    Alexandre Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    U.S.A.
    Actually, I don't like csf :)))
    iptables -F makes the server inaccessible:)):)
     
Loading...

Share This Page