cPanel/WHM IP Ban - How to Unban IP

99823 picture 99823 · Jun 15, 2012 · Viewed 13.8k times · Source

We are using htaccess basic authentication on one of our sites. One of our clients tried accessing the site and failed logging in multiple times. Now when visiting our site they simply get a "Can't Display Webpage" error.

I believe I've had this before and I believe there IP's got banned after so many failures. I'm not sure where to go in WHM/cPanel to unban them - appreciate any assistance!!

Thanks

Loren

Answer

infojolt picture infojolt · Jun 15, 2012

I am not aware of any way to do this from within CPanel/WHM. Instead, you need root access to the server and you will need to SSH. It is probably the firewall which has blocked the user.

You need to remove the IP from the firewalls banned IP's list and restart the firewall. Optionally, you can then whitelist the users IP to prevent future issues.

EDIT: It looks like you might be able to do this from within WHM after all. Please see http://www.anysitesupport.com/cpanel-add-firewall-exception/