Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

blocking range of ips

Discussion in 'General Discussion' started by djoverho, Dec 23, 2003.

  1. djoverho

    djoverho Active Member

    Joined:
    Feb 19, 2002
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    306
    Location:
    WV
    HI, we have a couple attackers hitting us from a 218.xxx.xxx.xxx ip and another from a 61.xxx.xxx.xxx

    I've installed the APF firewall but we still got attacked and it crashes apache and takes all our sites down. I found another forum where they said to run something like this to block the whole range...is this correct or does it block too much? I don't want to block anything except for 218 and 61 range...here is what I did according to the instructions

    iptables -I INPUT -s 61.54.133.1.0/24 -j DROP
    iptables-save

    If this does block too much, how do I correct it?

    thanks in advance
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice