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

Discussion in 'General Discussion' started by varshann2006, Feb 26, 2009.

  1. varshann2006

    varshann2006 Registered

    Joined:
    Apr 28, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    Is there way that the server blocks IP's that in the same day access more
    than, like, 3000 times?
    If there is a way to do this, just tell me how i can do it.

    Thanks in advance.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,517
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. varshann2006

    varshann2006 Registered

    Joined:
    Apr 28, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    any other updates on this???

    please
     
  4. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    login to SSH as a root then run below

    apf -d 65.54.123.12 (choose your IP which you want to block)

    cheerssss!!
     
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