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.

the cause of blocking my IP address

Discussion in 'Security' started by wafaa, Jul 14, 2014.

  1. wafaa

    wafaa Well-Known Member

    Joined:
    May 14, 2013
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Reseller Owner
    Hello;

    Where can i check in the logs why it block when I use my IP address to access in the cPanl ?
     
  2. triantech

    triantech Well-Known Member

    Joined:
    Jul 1, 2014
    Messages:
    145
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    wafaa,

    If you are talking about csf/lfd blocking your IP, you can find the cause of it by giving something like the below via shell :

    # grep -r <yourIP> /var/log/lfd.log*
     
  3. MilesWeb

    MilesWeb Well-Known Member
    PartnerNOC

    Joined:
    May 23, 2012
    Messages:
    174
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    You can check the logs be performing the command below. It will show the blocked IP with the reason behind it.

    grep YOUR-IP-ADDRESS /etc/csf/csf.deny

    As suggested by triantech, it will show the logs if the IP has been removed from deny list.

    Note: You will require root access to execute these commands.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page