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!

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:
    51
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    56
    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
     
    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