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.

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:
    6
    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
     
Loading...

Share This Page