How to Blacklist/Whitelist an IP Address in WHM

In this tutorial:

Blacklist IP Whitelist IP

After installing cPHulk on your dedicated server, you will have new security features. The ability to block (blacklist) or allow (whitelist) IP addresses from accessing your server is a great feature. You can stop known threats or let known users connect to the server. In this tutorial, we will show you how to Blacklist and Whitelist IP addresses in WHM.

Blacklist IP Address

  1. dedicated hosting blacklist whitelist root login

    Log into WHM as the ‘root’ user.

  2. dedicated hosting blacklist whitelist cphulk whm

    Type “cphulk” in the search box, then click the cPHulk Brute Force Protection link in the Security Center section.

  3. dedicated hosting blacklist whitelist cphulk blacklist manager

    Click the Blacklist Management tab.

  4. dedicated hosting blacklist whitelist blacklist ip addresses

    Enter the IP addresses you want to blackist. Each address should be on a new line.

  5. dedicated hosting blacklist whitelist blacklist comment

    If you want to add a note enter it in the Comment section.

  6. dedicated hosting blacklist whitelist add ip to blacklist

    Click the Add button to blacklist these addresses.

    dedicated hosting blacklist whitelist blacklist success

    You will then see a success message.

    dedicated hosting blacklist whitelist blacklisted ip addresses

    The IP addresses you added will now be listed along with the comment you entered.

Now that you know how to blacklist an IP address in WHM using cPHulk, we will now you you how to whitelist an IP address.

Whitelist IP Address

  1. dedicated hosting blacklist whitelist root login

    Log into WHM as the ‘root’ user.

  2. dedicated hosting blacklist whitelist cphulk whm

    Type “cphulk” in the search box, then click the cPHulk Brute Force Protection link in the Security Center section.

  3. dedicated hosting blacklist whitelist whitelist management

    Click the Whitelist Management

  4. dedicated hosting blacklist whitelist whitelist ip addresses

    Add the IP addresses that you want to whitelist to the New Whitelist Records section. Each addresses should be on a different line.

  5. dedicated hosting blacklist whitelist whitelist comment

    Enter a comment if you want to add it to the whitelist record.

  6. dedicated hosting blacklist whitelist add ip to whitelist

    Click the Add button to add the IP addresses to the whitelist.

    dedicated hosting blacklist whitelist whitelisted successfully

    You will then see a success message.

  7. dedicated hosting blacklist whitelist whitelisted ip addresses

    You will see the whitelisted IP addresses listed.

Congratulations, now you know how to Blacklist and Whitelist IP addresses in WHM using cPHulk! In the next guide, we will show you how to Blacklist/Whitelist IP address via SSH.

JB
John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Was this article helpful? Let us know!