• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to use Host Access Control in WHM/cPanel

144

To access/deny services using Host access Control in WHM/cPanel

A client sends request to the server by using the services like ftp, smtp, ssh etc.,. These services can be allowed or restricted to a particular client by using Host access control . It allows you to set up a connection to the server using specific rules. The procedure to access or deny services using Host Access Control in WHM/cPanel is explained in this article.

First Login to WHM Page, then navigate to Security Center -> Host Access Control


hsot_acccess

To deny a service

Open the terminal and type the following command to get the IP of the system that you want to restrict.


deny

To set up rule in Host access control. Enter the Service name, IP address and select the action to be taken.
Here, we are denying the IP ' 192.168.5.182' and allowing all other IP' s through sshd daemon. Finally Click Save host access list to apply the configuration.


deny
In the terminal, try to connect the server by running the following command.

#ssh root@192.168.7.6
ssh_exchange_identification: Connection closed by remote host

terminal
Now you can see the connection closed message.

To allow a service

Remove the blocked IP ' 192.168.5.182' .


allow_service
Once again try to connect the server and now you can see the connection is established.


connection
If you want to mention any reason for denying, enter it in comment section.


comment

Tags:
benjamin
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

what is the use of leech protect in cPanel?

A

Leech Protect is a security feature which is additionally given in cPanel.
This will block the unwanted access to the site
with some username and irrelevent passwords. Leechprotect prevents

Q

How to point cpanel domain to another server?

A

Just follow the simple steps to cpanel domain

1. Assume you have a domain called "example.com".
2. Just go to Home > DNS functions > Edit DNS zone
3. Choose the example.com and edit.
4. There, after the 2 en

Q

Why we are using host access controller in cpanel?

A

host access controller is used to allow or deny the particular services of the particular IP's or users.

Q

how to access/deny services using Host access Control in WHM/cPanel?

A

A client sends request to the server by using the services like ftp, smtp, ssh etc.,. These services can be allowed or restricted to a particular client by using Host access control . It allows you to set up a connection to the server using specific rules. The procedure to access or deny services using Host Access Control in WHM/cPanel is explained in this article.

Q

How to deny a service in WHM/cPanel?

A

To follow the instruction to deny a service in WHM/cPanel
1. Open the terminal and type the following command to get the IP of the system that you want to restrict.
2. To set up the rule in Host access control. Enter the Service name, IP address and select the action to be taken.
3. Denying the IP ' 192.168.5.182' and allowing all other IP' s through sshd daemon.
4. Finally, Click Save host access list to apply the configuration.

Related Tutorials in How to use Host Access Control in WHM/cPanel

Related Tutorials in How to use Host Access Control in WHM/cPanel

How to install and configure Zimbra mail server
How to install and configure Zimbra mail server
Jul 1, 2016
How to install Laravel in WHM/cPanel server
How to install Laravel in WHM/cPanel server
Oct 8, 2016
How to check server status in WHM/cPanel
How to check server status in WHM/cPanel
May 25, 2016
How to create and modify a database in WHM/cPanel server
How to create and modify a database in WHM/cPanel server
May 12, 2016
How to Block an IP address in WHM/cPanel
How to Block an IP address in WHM/cPanel
May 6, 2016
How to use Host Access Control in WHM/cPanel
How to use Host Access Control in WHM/cPanel
May 25, 2016
How to backup and restore it through WHM/cPanel
How to backup and restore it through WHM/cPanel
Jul 15, 2016
How to check system health through WHM/cPanel
How to check system health through WHM/cPanel
Jun 25, 2016

Related Forums in How to use Host Access Control in WHM/cPanel

Related Forums in How to use Host Access Control in WHM/cPanel

WHM cPanel
jayce class=
*WARNING* The option "WHM > Tweak Settings > Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)"
May 18, 2017
WHM cPanel
victorsamuel class=
[proxy_fcgi:error] [pid 14811:tid 47224278607616] [client 192.168.1.1:50709] AH01071: Got error 'Unable to open primary script: /home/ffmpegdevpnetaxi/ffmpegdevprepo/public/index.php (No such
May 9, 2019
WHM cPanel
hobbs class=
CPanel Update failed
Jun 19, 2018
CentOS
RONY class=
Mysql causes high load on server
Sep 18, 2019
WHM cPanel
andrew class=
Graphical tool for file manager in cpanel
Apr 1, 2017
WHM cPanel
john class=
phpmyadmin is not working in cpanel server
Apr 21, 2017
WHM cPanel
MikeFarr class=
Need help with Apache to serve my websites
May 11, 2020
WHM cPanel
jackson class=
spamd failed : not running in cpanel
Aug 30, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.