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.

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:
    6
    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:
    16
    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
     
  3. Xenaco

    Xenaco Registered

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

Share This Page