Host access control is a feature of WHM which is permitted you to set up some specific rules to allow and deny access to your server. It is one feature which allows the permission to access the server or deny’s the IP to access the server in WHM. With Host Access Control, you may set up rules that, depending on the IP address attempting to connect, either permit or prohibit access to your server and its services.
There are some steps to access the allow or deny services in host access control panel.
Step 1: First of all login to WHM panel.
Step 2: Then click on “Host Access Control” under Security Center section (Security Center -> Host Access Control)
Step 3: There are three parts to input the rules.
- Part 1: The first part is set the service as per your choice. Here are all of the services that the “Host Access Control” feature allows you to manage access to.
- cPanel (cpaneld)
- WHM (whostmgrd)
- Webmail (webmaild)
- Web Disk (cpdavd)
- FTP (ftpd)
- SSH (sshd)
- SMTP (smtp)
- POP3 (pop3)
- IMAP (imap)
Part 2: The second part is set the rule for the IP address in the Access list.
- Part 3: There is two options in Action field. The options are Allow and Deny which are the grant the permission for the field Action.
If you want to allow IP to access SSH, then you have to allow access to specific IP address and deny access to all other IP addresses. For example, here we allow the IP 123.456.123.456 to access the sshd service which is located on the top and deny the other all IP address which one is located in the last. That’s means only from this IP 123.456.123.456 we can able to access sshd service while others all IP addresses will not to access.
Step 4: If all is done then it has to save all the process from this option “Save Host Access List”