Note: There are two methods to Blacklist/Whitelist IPs in Imunify and both of them require root access. If you’re a Shared Hosting user with user-level access, you should contact your hosting provider to perform this task. Additionally, you can forward this tutorial so that they can easily perform your task.
Imunify360 is security software that comes by default in every Shared Hosting Plan at Redserverhost. The six-layer security of imunify360 provides every cPanel user with an extreme level of security from all kinds of malicious attacks.
Imunify360 is almost an automated software that automatically blocks all the malicious IPs, files, and users. However, there are two methods to blacklist and whitelist IP addresses in Imunify360 manually. The first one is from the WHM interface, whereas the second one could be done by using some basic Linux commands in SSH.
1: Blacklist/Whitelist IPs in Imunify360 from WHM
Whitelist/Blacklist an IP Address
It’s fairly easy to ban/unban any IPs in Imunify360 from the WHM interface. You can follow the below steps for a step-by-step guide to Blacklist/Whitelist IPs in Imunify.
Edit the newly created file using the vior nanocommand and type all the IPs you want to whitelist.
To save & exit, type Escfrom your keyboard and then type :wq!command.
Hit the Enter button to save the file and close the window.
That’s it. All the IPs present inside the file in the whitelist directory will be whitelisted automatically.
You can use the same method to blacklist IPs. Just create a directory with the blacklistname and rest all the process is same.
This is how you can easily Blacklist/Whitelist IPs in WHM as well as SSH. I hope this article helps you. If not, simply visit redserverhost.com and open a free support ticket. Our experienced Technical Support Team will be happy to assist you. Other than this, you can follow us on Facebookor Twitterfor any further inquiries or suggestions. We always appreciate it.