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.

Issue with cPanel server blocking an IP

Discussion in 'General Discussion' started by bsamson, Jan 22, 2010.

  1. bsamson

    bsamson Active Member

    Joined:
    Sep 18, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hello. I am fairly new to linux and cPanel. However I have managed to have a centos server with cPanel up and running for almost 2 years without any major issue. We are not a webhosting company but rather a small business hosting only a handful of internal sites

    One of our locations is having an issue accessing our sites. The problem is not within their network but seems to be our server is blocking access. That computer has not AntiVirus/Firewalls installed.

    I am confused as to where to begin looking to see if their IP is blocked. Tried Googling a solution but found nothing. Thanks in advance for any assistance. Thank you.
     
  2. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    Hello there,

    I would start by looking through the IPtables, and see if the IP has been listed:

    iptables -L

    You may also try doing a trace route from the other location, and see where the trace stops.
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Please make sure that the IP address is not blocked in your server firewall. If the IP is blocked in your server firewall then unblock the IP and restart the firewall and have a try.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You might be able to find out how they got blocked by searching the logs:
    grep 11.22.33.44.55 /var/log/*
    You might also be interested in having a bit more control over your firewall, I suggest:
    ConfigServer Security & Firewall
     
  5. InstaCarma_Tech

    InstaCarma_Tech Well-Known Member

    Joined:
    Apr 22, 2009
    Messages:
    228
    Likes Received:
    1
    Trophy Points:
    18
    First get the global IP of that particular location by visiting What Is My IP Address - Shows Your IP Address (from that location).

    Check your Iptables by using the following command :
    Code:
    root@server#  iptables -nL | grep [I]putIPhere[/I]
    Or if you have a firewall, say CSF, installed then try the following also :
    Code:
    root@server#  grep [I]putIPhere[/I] /etc/csf/csf.*
    Paste the results here for further analysis.

    If the IP isn't blocked in the server then doing a traceroute from that location to the server might hep locate the problem.
     
  6. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    if you have installed CSF then you can check this by login to WHM & click on # ConfigServer Security&Firewall >> firewall deny IPs
     
Loading...

Share This Page