{"id":18383,"date":"2026-09-29T21:37:47","date_gmt":"2026-09-29T18:37:47","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/cphulk-whitelist-blacklist-ip\/"},"modified":"2026-11-23T19:41:06","modified_gmt":"2026-11-23T16:41:06","password":"","slug":"cphulk-whitelist-blacklist-ip","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/cphulk-whitelist-blacklist-ip\/","title":{"rendered":"cPHulk in WHM: Unblocking an IP, Whitelisting and Blacklisting, and Tuning Brute Force Protection"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>The most common use<\/b>Open <b>Security Center, then cPHulk Brute Force Protection<\/b>. To stop a trusted address ever being blocked, add it under <b>Whitelist Management<\/b>; to shut out a hostile one, add it under <b>Blacklist Management<\/b>. To unblock a customer, go to <b>History Reports<\/b> and remove their address from the blocked list.<\/div>\n<div class=\"hy-vid\"><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-18383-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-cphulk-en.jpg\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-cphulk-en.mp4?_=1\" \/><a href=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-cphulk-en.mp4\">https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-cphulk-en.mp4<\/a><\/video><\/div><\/div>\n<p>cPHulk is the guard at the login doors of a cPanel server: cPanel, WHM, Webmail, IMAP and POP3 mail, FTP and SSH. When it sees repeated failed logins from one address or against one account, it blocks them for a while. That protects the server from password-guessing attacks, but it sometimes catches a real customer who mistyped their password a few times, or a whole office behind a single IP.<\/p>\n<div class=\"hkb-note\"><b>Before you start<\/b><\/p>\n<ul class=\"hkb-list\">\n<li>Access to WHM as <b>root<\/b> at <code>https:\/\/your-server-hostname:2087<\/code> (or the server IP on port 2087). Avoid the old port 2086: it is not encrypted.<\/li>\n<li>The IP address in question. The customer can find theirs on any what-is-my-IP site, or you will find it in the login history.<\/li>\n<\/ul>\n<\/div>\n<h2>The tool<\/h2>\n<p class=\"hkb-path\"><code>WHM \u203a Security Center \u203a cPHulk Brute Force Protection<\/code><\/p>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wh-w-cphulk.webp\" alt=\"WHM cPHulk Brute Force Protection and its settings tab\" width=\"800\" height=\"457\" loading=\"lazy\" \/><\/figure>\n<p>At the top is cPHulk\u2019s on\/off switch and status, then five tabs: <b>Configuration Settings<\/b>, <b>Whitelist Management<\/b>, <b>Blacklist Management<\/b>, <b>Countries Management<\/b> and <b>History Reports<\/b>.<\/p>\n<p><\/p>\n<div class=\"hyt-box\" style=\"margin:28px 0;padding:20px 22px 6px;border:1px solid #e3eaf3;border-inline-start:5px solid #f7931e;border-radius:14px;background:#f4f7fb\">\n<p style=\"margin:0 0 10px;font-size:14px;font-weight:700;color:#b35f00\">Free tool from Hyyat Host<\/p>\n<p style=\"margin:0 0 4px;font-weight:800;color:#0b2a55;font-size:17px\">What is my IP?<\/p>\n<p style=\"margin:0 0 12px;color:#3d5373;line-height:1.7\">See your public address, its type, country and reverse name in a second.<\/p>\n<p style=\"margin:0 0 14px\"><a href=\"https:\/\/www.hyyat.com\/en\/%d9%85%d8%a7-%d9%87%d9%88-ip-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%8a\/\" style=\"display:inline-block;background:#1557b0;color:#fff;border-radius:999px;padding:8px 22px;font-weight:700;text-decoration:none\">Open the tool<\/a><\/p>\n<\/div>\n<p><\/p>\n<h2>Whitelisting an IP<\/h2>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wh-w-cpwhite.webp\" alt=\"The cPHulk Whitelist Management tab for trusted addresses\" width=\"800\" height=\"457\" loading=\"lazy\" \/><\/figure>\n<ol class=\"hkb-steps\">\n<li><b>Open Whitelist Management<\/b> addresses here are never blocked, however many attempts fail.<\/li>\n<li><b>Enter the address<\/b> in <b>New Whitelist Records<\/b>, one per line, optionally followed by a comment after #, for example <code>203.0.113.5 # head office<\/code>.<\/li>\n<li><b>Click Add<\/b> the address appears in the whitelist table.<\/li>\n<\/ol>\n<div class=\"hkb-note warn\">Only whitelist your own fixed address and your office. Do not add changing addresses or large ranges; that switches protection off for everyone sharing them.<\/div>\n<h2>Blacklisting an IP<\/h2>\n<p>Under <b>Blacklist Management<\/b>, the same way. Addresses here are always refused, even with the right password. Useful for an address that keeps attacking the server. Blocking whole countries lives under <b>Countries Management<\/b>; use it carefully so you do not lock out real customers while they travel.<\/p>\n<h2>Unblocking a customer<\/h2>\n<ol class=\"hkb-steps\">\n<li><b>Open History Reports<\/b> and choose to view the currently blocked addresses.<\/li>\n<li><b>Find the customer\u2019s address<\/b> or their username if the account itself is locked.<\/li>\n<li><b>Delete the entry<\/b> with the delete button beside it; the customer can log in straight away.<\/li>\n<\/ol>\n<p>Over SSH, <code>\/scripts\/cphulkdwhitelist 203.0.113.5<\/code> whitelists an address. If the server also runs a firewall such as CSF, the block may come from there rather than cPHulk, so check both.<\/p>\n<h2>Tuning protection: the settings that matter<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Setting<\/th>\n<th>What it does<\/th>\n<th>Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><b>Username-based Protection<\/b><\/td>\n<td>Tracks failed logins per account and locks it for a while<\/td>\n<td>Protects one account from guesses spread across many addresses<\/td>\n<\/tr>\n<tr>\n<td><b>Maximum Failures by Account<\/b><\/td>\n<td>Attempts allowed before the account locks<\/td>\n<td>Too low annoys customers<\/td>\n<\/tr>\n<tr>\n<td><b>Allow username protection to lock the \u201croot\u201d user<\/b><\/td>\n<td>Lets root itself be locked<\/td>\n<td>If you enable it, make sure your IP is whitelisted<\/td>\n<\/tr>\n<tr>\n<td><b>IP Address-based Protection<\/b><\/td>\n<td>Blocks an address after failed attempts<\/td>\n<td>The core defence against attacks<\/td>\n<\/tr>\n<tr>\n<td><b>One-day Blocks<\/b><\/td>\n<td>A full-day block after a higher number of failures<\/td>\n<td>For persistent attackers<\/td>\n<\/tr>\n<tr>\n<td><b>Block IP addresses at the firewall level<\/b><\/td>\n<td>Moves the block into the firewall<\/td>\n<td>Stronger, but lifting it then involves the firewall too<\/td>\n<\/tr>\n<tr>\n<td><b>Notifications<\/b><\/td>\n<td>Alerts when root logs in from an unknown address<\/td>\n<td>Turn it on; it is an important early warning<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"hkb-note\"><b>Check afterwards<\/b><\/p>\n<ul class=\"hkb-list\">\n<li>cPHulk shows Enabled.<\/li>\n<li>Your fixed address is whitelisted.<\/li>\n<li>The blocked customer can log in after the unblock.<\/li>\n<\/ul>\n<\/div>\n<h2>cPHulk questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>Which services does cPHulk protect?<\/summary>\n<p>cPanel, WHM, Webmail, mail over IMAP, POP3 and authenticated SMTP, FTP and SSH.<\/p>\n<\/details>\n<details>\n<summary>Is cPHulk a replacement for a firewall?<\/summary>\n<p>No, it complements one. cPHulk watches logins; a firewall controls ports and connections.<\/p>\n<\/details>\n<details>\n<summary>My own IP is blocked from WHM. How do I get in?<\/summary>\n<p>Log in over SSH or through the server console in your provider\u2019s panel, and whitelist your address with the command above.<\/p>\n<\/details>\n<details>\n<summary>Will a customer be blocked for a wrong mail password on their phone?<\/summary>\n<p>Yes, if the failures repeat, and it is a common cause: a phone with an old saved password keeps retrying.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Related guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cannot-access-website-cpanel-ip-blocked\/\">Cannot Open Your Website or cPanel from Your Computer? Your IP May Be Blocked<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/5-tips-to-secure-your-cpanel-server\/\">5 Tips to Secure Your cPanel Server<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/change-cpanel-password-whm\/\">Changing a cPanel Account Password in WHM: When You Need It and What It Affects<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/vps-server-security\/\">VPS Server Security: The Essential Steps After You Get Your Server<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-whm-on-vps\/\">cPanel and WHM on a VPS \u2014 The Complete 2026 Guide: What They Are, Licensing, and When to Choose Them<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/\">All WHM guides \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The most common useOpen Security Center, then cPHulk Brute Force Protection. To stop a trusted address ever being blocked, add it under Whitelist Management; to shut out a hostile one, add it under Blacklist Management. To unblock a customer, go to History Reports and remove their address from the blocked list. cPHulk is the guard [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":21136,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2734],"doc_tag":[],"class_list":["post-18383","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-whm-cpanel-control-panels"],"year_month":"2026-11","word_count":738,"total_views":"6","reactions":{"happy":"1","normal":"0","sad":"0"},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"WHM\/cPanel","term_url":"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18383"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18383\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/21136"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18383"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18383"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}