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.

How do I block an IP that has been

Discussion in 'General Discussion' started by HiTechFX, Mar 17, 2009.

  1. HiTechFX

    HiTechFX Registered

    Joined:
    Dec 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Baltimore
    Added to my list of Denied IP addresses but continues to show up on my log for hack attempts? I've tried every thing I know to block this IP address with No luck..

    59.106.14.41

    Any Suggestions.. This *** is really starting to anoy me..:mad:
     
    #1 HiTechFX, Mar 17, 2009
    Last edited: Mar 17, 2009
  2. JPC-Shaun

    JPC-Shaun Well-Known Member

    Joined:
    Oct 29, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Hi;

    You can block the IP in the server firewall (IPtables) using the command as below:

    /sbin/iptables -A INPUT -s IP address -j DROP

    where the IP address would be the source IP that you intend to block on the server.

    I also recommend you to install APF firewall (if its not already installed) on the server. Blocking a particular IP in APF is even more simple. You can use

    apf -d IP address
     
Loading...

Share This Page