NEW LOCATION

Olá Brazil Brazil NVMe-powered VPS Plans in Brazil Now Available.

Deploy Instantly
  • +357 2425 0808
  • Login
  • English

Home

Blog

How to unblock an IP address from cPanel...

How to unblock an IP address from cPanel/WHM command line

How to unblock an IP address from cPanel/WHM command line

NetShop ISP

NetShop ISP · Blog Author

Feb 24, 2021 · Technical Tutorials

cPanel is widely popular among Linux administrators, Web hosting resellers and webmasters who need a simple yet powerful control panel with a graphical user interface (GUI) to manage their hosting environment and websites.

cPanel Brute force protection with cPHulk

In order to protect your VPS or dedicated server from brute force attacks, you will need to enable and configure cPHulk. cPHulk is a security feature in WHM which helps in blocking login attempts in cPanel, WHM, SSH, FTP and IMAP/POP3 services.

If you are already using the CSF Firewall for your server’s protection, cPHulk can be enabled and configured for additional protection. cPHulk is only Brute Force detection/failed login blocking , whereas a Firewall or a security solution (CSF) includes a lot more. If you are interested in just auto-blocking, cPhulk will do the job perfectly.

Unblocking an IP address in cPHulk from Command Line

There are many cases when the administrator (root user) of a cPanel server gets blocked due to multiple failed login attempts. Don’t panic!

SSH to your cPanel server and execute the following command:

/usr/local/cpanel/scripts/hulk-unban-ip your_banned_ip_address

If the above command line does not work, then you can try disabling cPHulk temporarily with the following command:

/scripts2/doautofixer?autofix=disable_cphulkd

You should now be able to access your WHM control panel and make sure you remove your own IP address from the blacklist before re-enabling cPHulk again.

To remove the lockout for a specific IP address on servers that run cPanel & WHM version 11.50 or later, call WHM API 1’s flush_cphulk_login_history_for_ips function.

Worry-free, Fully Managed Hosting by NetShop ISP

If you are looking to run a VPS or Dedicated server on cPanel but your technical knowledge or time is limited, we can take care of the server management for you.

You can choose a Fully managed VPS hosting for just €45 per month, or if you are looking for a Fully managed dedicated server all you need to pay extra is €99 per month.

Our fully managed hosting services include the following:

1. 24×7 Proactive Monitoring

2. 24×7 Technical Support

3. Websites Migration Assistance

4. Troubleshooting Assistance

5. New Software Installation Assistance

For more information or to request a discount for multiple servers management please contact our 24/7 Web Hosting specialists.

Press Releases
79

Free VPS Trial

No Credit Card Required.

Recent Posts

Black Friday & Cyber Monday Offer – 30% Lifetime Discount on VPS Plans

Black Friday & Cyber Monday Offer – 30% Lifetime Discount on VPS Plans

02 December, 2024

How To Install Sendy on Ubuntu 22.04 Server

How To Install Sendy on Ubuntu 22.04 Server

27 November, 2024

How To Extract Certificates and Private Key from .PFX file

How To Extract Certificates and Private Key from .PFX file

19 November, 2024

NetShop ISP CEO Stefano Sordini to Moderate Key Panel on Forex AI Automation at Cyprus Fintech Summit 2024

NetShop ISP CEO Stefano Sordini to Moderate Key Panel on Forex AI Automation at Cyprus Fintech Summit 2024

15 November, 2024

Preparing for the Daylight Saving Time (DST) Change: Essential Updates for MetaTrader 4/5 Platforms

Preparing for the Daylight Saving Time (DST) Change: Essential Updates for MetaTrader 4/5 Platforms

25 October, 2024

#letushostyou

Award Winning Hosting Provider established in 2004.

120 Faneromenis Avenue, Imperial Tower, 2nd Floor, Larnaca 6031, Cyprus

Products

Bare Metal Servers

Customized Servers

Virtual / Cloud Servers

Forex VPS

Storage VPS

cPanel Web Hosting

Reseller Web Hosting

Colocation

Addons

Premium DNS

Email Hosting

Cloud Backup

DDoS Protection

Licenses

SSL Certificates

Domain Names

Premium SLAs

About Us

Data Center Locations

Looking Glass

Our Company

Contact Us

Careers in Cyprus

Become a Partner

Awards

Certifications

© 2024 S.S. NetShop Internet Services Ltd. All rights reserved.  Terms & Conditions  |  Privacy Policy
CY Reg. Number: HE 217340 | EU VAT Number: CY10217340J

Visa
Mastercard
PayPal
Bitcoin
Tether
Ethereum
Litecoin
Wise
Revolut
Wire Transfer