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!

Unblocking IP Address

Discussion in 'General Discussion' started by nootkan, Dec 24, 2006.

  1. nootkan

    nootkan Well-Known Member

    Oct 25, 2006
    Likes Received:
    Trophy Points:
    :confused: I tried searching this forum for "unblocking IP Addresses" and got nothing found message so I thought I'd ask here. I goofed up and forgot my password when logging into an admin area of my server and now my ip address is blocked. I can't even get into WHM or even view my websites. I will have to go to another home and borrow their internet service to login to my WHM. How or where will I find the right area to unblock my ip address so I can continue to make changes etc from my own home? Sorry for the dumb question, but I'm a newbie and really struggling to understand how this all dedicated server stuff works. Last thing I needed was to create a problem by being stupid. :eek:
  2. F_A_H_D

    F_A_H_D Active Member

    Sep 17, 2006
    Likes Received:
    Trophy Points:
    login via shell
    and search in /etc/host.deny also in /etc/sysconfig/iptables
    If u are running csf firewall u can get you ip allow through WHM>>ConfigServer Security & Firewall>>quick allowa
  3. mctDarren

    mctDarren Well-Known Member

    Jan 6, 2004
    Likes Received:
    Trophy Points:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Sometimes when you block yourself via a firewall, and it's permanent, there's a few things you can try if you are not right there at the machine to login directly.

    > You can call your DC or provider and have them login to remove your IP from the ban list by logging in via shell right at the machine.

    > If you have more than one server you can always add the other server's IP to your firewall "whitelist", which would allow you to login from that other box to fix your IP ban.

    > You might also try using a proxy to access WHM to try and remove your ban, but unless you pay for a proxy service most will block abnormal ports like 2086/7.

    > Use a key based logins so you will never have to enter a password again. :)

    > Or if your SSH client allows login scripts, create one so you don't duplicate this later. The last one is not recommended, as it encourages you to not change your pw periodically. :)

    Hope those help.

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