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!

Hi All

Discussion in 'General Discussion' started by carlosferns2004, Aug 3, 2005.

  1. carlosferns2004

    carlosferns2004 Active Member

    Joined:
    May 5, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    india
    Hello


    How To Block A Ip In Cpanel (os Linux)





    Thanks In Advance

    Cheers


    Regards
    Carlos
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    There is nothing to do much with cpanel regarding this issue...you can use iptables for this

    Code:
    iptables -I INPUT -s IP-ADDR -j DROP
    or if you have apf installed then u can use :

    Code:
    /etc/apf/apf -d IP-ADDR
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Xenaco

    Xenaco Registered

    Joined:
    Aug 4, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151

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