nootkan

Well-Known Member
Oct 25, 2006
134
5
168
: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
 

F_A_H_D

Active Member
Sep 17, 2006
25
0
151
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
 

mctDarren

Well-Known Member
Jan 6, 2004
665
4
168
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.