How to Blacklist or Whitelist IP Addresses in Linux using SSH

Your video will begin in 10
83 Views
Published
In this video, we'll review how to blacklist or whitelist IP addresses in Linux using SSH. cPanel uses the cPHulk security software, making it easy to manage visitor IP addresses using SSH or WebHost Manager (WHM).

00:00 Intro
00:43 Prerequisites: Root User and cPHulk
01:29 Blacklist IP Address
02:10 Whitelist IP address
02:57 Closing Remarks
03:15 Outro

Be sure to replace these commands with the IP address you actually want to block!

To Blacklist an IP address:
/scripts/cphulkdblacklist 123.45.67.89

To Whitelist an IP address:
/scripts/cphulkdwhitelist 123.45.67.89

► To learn more see our article on using SSH to blacklist and whitelist IP addresses: https://www.inmotionhosting.com/support/server/ssh/blacklist-whitelist-ip-address-ssh/

► Our complete guide to getting root access on your cPanel VPS or Dedicated Server: https://www.inmotionhosting.com/support/amp/obtain-root-access/

► Our complete video guide on enabling cPHulk, including an overview of settings: https://youtu.be/6YHyFyXXeBY
► Our complete guide to activating cPHulk security software on your cPanel VPS or Dedicated Server: https://www.inmotionhosting.com/support/security/enabling-cphulk/

► You can also blacklist and whitelist IP addresses in WebHost Manager (WHM).
► Article on using WHM to Blacklist and Whitelist IP addresses: https://www.inmotionhosting.com/support/edu/whm/blacklist-whitelist-ip-address-whm/
► Video on using WHM to Blacklist and Whitelist IP addresses: https://youtu.be/anpMqvQGDmk

► You can also find more helpful guides on speeding up your workflow with SSH by going to our SSH and Root Access section: https://www.inmotionhosting.com/support/server/ssh/

About Us:
InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about our optimized hosting plans, visit us at
► https://www.inmotionhosting.com

#cPanelSSH #SSH #cPHulk #blacklistipaddress #whitelistipaddress #WHM
Category
InMotion Hosting
Be the first to comment