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.

Unblocking IP Address

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

  1. nootkan

    nootkan Well-Known Member

    Joined:
    Oct 25, 2006
    Messages:
    129
    Likes Received:
    2
    Trophy Points:
    18
    :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:
    Nootkan
     
  2. F_A_H_D

    F_A_H_D Active Member

    Joined:
    Sep 17, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    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

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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.
     
Loading...

Share This Page