Results 1 to 13 of 13

Thread: My site blocked my ip. Where do I look to fix?

  1. #1
    Registered Member
    Join Date
    Apr 2010
    Posts
    9

    Question My site blocked my ip. Where do I look to fix?

    Hello,

    I run my own dedicated server. One of my sites have blocked my IP from viewing the site, FTP, and cpanel. I have a couple laptop that are able to log in and view the site normally, however just my main pc has been blocked somehow. I checked in cpanel of the site's "IP Deny Manager" and no IPs were displayed there. I also have CSF installed on my server however I checked the blocked IP list and my IP is not listed. On top of that, I have my IP set up as a allowed IP. This is happneing on just one of a few websites on my server.

    Where else should I be looking to fix this problem? Seems like I checked everything...

    Any help would be much appreciated. Thanks!

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel Access Level

    Root Administrator

    Default Re: My site blocked my ip. Where do I look to fix?

    Do you have cPHulk Brute Force Protection enabled? It shouldn't only be denying access to one site and would the whole server, though, so that's a bit confusing if it were the cause. If you have WHM > cPHulk Brute Force Protection enabled, you can temporarily disable it to see if that works to see if that is the cause.

    Otherwise, do you have any other scripts that you've installed onto the machine? You could still check your IP if it might be listed in the firewall directly:

    Code:
    /sbin/iptables -n -L | grep IP#
    Where IP# is the IP number for the machine that is blocked. Also, just to make sure, please do check your IP at What's My IP Address? Networking Tools & More in case you believe that computer is coming from an IP that might not be the actual IP. This way you can ensure you are checking for the right IP.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered Member
    Join Date
    Apr 2010
    Posts
    9

    Thumbs up Re: My site blocked my ip. Where do I look to fix?

    Quote Originally Posted by cPanelTristan View Post
    Do you have cPHulk Brute Force Protection enabled? It shouldn't only be denying access to one site and would the whole server, though, so that's a bit confusing if it were the cause. If you have WHM > cPHulk Brute Force Protection enabled, you can temporarily disable it to see if that works to see if that is the cause.

    Otherwise, do you have any other scripts that you've installed onto the machine? You could still check your IP if it might be listed in the firewall directly:

    Code:
    /sbin/iptables -n -L | grep IP#
    Where IP# is the IP number for the machine that is blocked. Also, just to make sure, please do check your IP at What's My IP Address? Networking Tools & More in case you believe that computer is coming from an IP that might not be the actual IP. This way you can ensure you are checking for the right IP.
    Hello cPanelTristan,
    I just tried your advice above by typing in the command above and this has resolved my issue. THANK YOU SO MUCH!

  4. #4
    Registered Member
    Join Date
    Apr 2010
    Posts
    9

    Default Re: My site blocked my ip. Where do I look to fix?

    I tried your command above and this fixed my issue! Thank you so much!

    Just wondering how in future I will be able to view all the IPs being blocked, since I was not able to view this in whm or cpanel?

  5. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel Access Level

    Root Administrator

    Default Re: My site blocked my ip. Where do I look to fix?

    If the IP was blocked in iptables, then cPanel didn't block the IP. It had to have been CSF or LFD that blocked it. As such, I cannot recommend how to view it in cPanel or WHM when we didn't perform the block.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,678
    cPanel Access Level

    Root Administrator

    Default Re: My site blocked my ip. Where do I look to fix?

    Quote Originally Posted by Mister9 View Post
    I tried your command above and this fixed my issue! Thank you so much!

    Just wondering how in future I will be able to view all the IPs being blocked, since I was not able to view this in whm or cpanel?
    The command Tristan provided did not fix your issue I don't think, it should have shown you if your IP was listed or not. When you found it listed (assuming you did), what did you do next?

  7. #7
    Registered Member
    Join Date
    Apr 2010
    Posts
    9

    Default Re: My site blocked my ip. Where do I look to fix?

    I'm so embarrassed! It didn't fix my issue. I was able to access the site again for a while and now I am blocked again. It's so odd. I am able to FTP and view all my sites on my server except this one site. Whenever I try to FTP, it says, FTP Socket Error: 11004. I am still looking for an answer. Thanks for your help thought guys... I will continue to try to figure it out.

  8. #8
    Registered Member
    Join Date
    Aug 2010
    Posts
    91

    Default Re: My site blocked my ip. Where do I look to fix?

    disable CSF for a while and see if that was the issue. If it was, post your log msg here.

  9. #9
    Registered Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    988
    cPanel Access Level

    Root Administrator

    Default Re: My site blocked my ip. Where do I look to fix?

    Your server can't just block access to one single domain, on your PC only. It would either block access to everything, or nothing. It sounds to me like the firewall, or maybe even a spam filter on your own PC is causing this.
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting

    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  10. #10
    Registered Member
    Join Date
    Apr 2011
    Location
    Chicago, IL
    Posts
    207
    cPanel Access Level

    Root Administrator

    Default Re: My site blocked my ip. Where do I look to fix?

    IF it is a temporary block that sounds as if firewall of CSF giving you a temporary block. Do you have any malware and or too many login attempts on your network to your server. Also make sure to whitelist your IP address every place possible.

  11. #11
    Registered User
    Join Date
    Apr 2012
    Posts
    1
    cPanel Access Level

    Website Owner

    Default Re: My site blocked my ip. Where do I look to fix?

    I dont have WHM.... How can i get cphulk disabled...I get Brute force error now and then... I have hostgator account...Please help me

  12. #12
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel Access Level

    Root Administrator

    Default Re: My site blocked my ip. Where do I look to fix?

    If you are periodically being blocked and only have cPanel access, then only your hosting provider can help you with the issue you are having. Please contact them about what is happening. Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  13. #13
    BANNED
    Join Date
    Apr 2012
    Location
    Utah
    Posts
    117
    cPanel Access Level

    DataCenter Provider

    Default Re: My site blocked my ip. Where do I look to fix?

    Quote Originally Posted by Hitro View Post
    I dont have WHM.... How can i get cphulk disabled...I get Brute force error now and then... I have hostgator account...Please help me
    My field is security and I've never been a huge fan of cpHulk as it is inaccurate and too easy to misuse as an attack tool against the server owner. I usually recommend to people that they disable it and supplement their security with other tools.

    If you are on a shared hosting account, you are in a bit of a bind and really at the mercy of your hosting provider and also stuck with however they have setup security on the server which unfortunately might of been setup by some low paid administrator who doesn't really know any better probably thinking they are doing good protecting their client servers.

    If your host won't or can't help with that, I would probably consider looking at moving to another hosting provider or perhaps even changing to a different type of hosting where you have more control such as a VPS, Dedicated, or Cloud VPS.

    **EDIT** PS: I see a lot of people throughout this thread talking about various checks to see if you are blocked or "disabling CSF temporarily". In case anyone doesn't know, CSF actually has a built in security grep command to check the status of an IP address or CIDR range. All you have to do is use the "-g" option with CSF at the shell command line.

    Example:
    Code:
     #  csf -g 127.0.0.1
    (you would of course replace 127.0.0.1 with your IP or CIDR range)
    Last edited by NetMantis; 04-26-2012 at 10:40 AM.

Similar Threads

  1. Blocked web site
    By maluleke in forum General Discussion
    Replies: 5
    Last Post: 07-17-2009, 05:57 PM
  2. Paypal email blocked HELP to fix
    By Garry-UK in forum E-mail Discussions
    Replies: 5
    Last Post: 07-23-2008, 02:12 PM
  3. my own site blocked my ip adress !!!! [moved]
    By daroosh in forum General Discussion
    Replies: 2
    Last Post: 05-12-2006, 05:15 AM
  4. blocked by site classifying service
    By JerryMuelver in forum General Discussion
    Replies: 1
    Last Post: 03-08-2003, 06:54 PM
bargain