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 an IP

Discussion in 'General Discussion' started by dnagency, Apr 1, 2005.

  1. dnagency

    dnagency Active Member

    Joined:
    Oct 21, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I recently receive lotsa traffic by a certain IP, that obviously is a private spider, which I don´t need/want to spider my server. Now I wonder wether there is an option in WHM (root) to kinda block that IP for the whole server and all accounts on this server? And if so, how? :)

    best regards, dnagency :)
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    There's no such option in WHM. You'll need to login to the root shell via SSH and add it to your software firewall if you have installed one, or directly into iptables (Linux). Search the forums on how to do that.
     
  3. naox

    naox Well-Known Member

    Joined:
    Mar 23, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    type/add to rc.d something like

    iptables -I INPUT -s 211.220.155.202 -j DROP
     
Loading...

Share This Page