Linux cPanel/WHM IP Ban - 如何取消 IP

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11053458/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 06:53:03  来源:igfitidea点击:

cPanel/WHM IP Ban - How to Unban IP

linuxcpanelwhm

提问by 99823

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.

我们在我们的网站之一上使用 htaccess 基本身份验证。我们的一位客户尝试访问该站点并多次登录失败。现在,当访问我们的网站时,他们只会收到“无法显示网页”的错误消息。

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!!

我相信我以前遇到过这种情况,而且我相信在经历了这么多次失败之后,IP 已经被禁止了。我不确定在 WHM/cPanel 中去哪里取消禁止它们 - 感谢任何帮助!

Thanks

谢谢

Loren

罗兰

采纳答案by infojolt

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.

我不知道在 CPanel/WHM 中有什么方法可以做到这一点。相反,您需要对服务器进行 root 访问,并且需要 SSH。可能是防火墙阻止了用户。

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.

您需要从防火墙禁止 IP 列表中删除该 IP 并重新启动防火墙。或者,您可以随后将用户 IP 列入白名单以防止将来出现问题。

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/

编辑:看来您毕竟可以从 WHM 内部执行此操作。请参阅http://www.anysitesupport.com/cpanel-add-firewall-exception/

回答by HacheCuatro

I've this matter with customers IPs banned after an email server migration. Due password reset of some email accounts the customers can't login with pop3, imap, even the webmail was affected.

在电子邮件服务器迁移后,我遇到了客户 IP 被禁止的问题。由于部分邮箱账户密码重置,客户无法使用pop3、imap登录,甚至webmail也受到影响。

The ban is implemented in Cpanel for cPHulk, that prevents the brute force attempts.

该禁令在 cPHulk 的 Cpanel 中实施,以防止暴力尝试。

The solution for me was Disable temporally the cPHulk Brute Force Protection, until all the customers set the correct password.

我的解决方案是暂时禁用 cPHulk 蛮力保护,直到所有客户设置正确的密码。

I hope this helps you.

我希望这可以帮助你。

Cheers.

干杯。