I'm trying to block WHM access to our company network only. I created a Host Access Control rules as below.
whostmgrd OFFICEIP allow # Allow office staff access
whostmgrd LOCAL allow # Allow local API requests
whostmgrd ALL DENY # Deny all others access
This worked fine and all other IP addresses attempting to access WHM through ports 2086 and 2087 were given a forbidden message.
However, WHM can still be accessed through the cPanel proxy subdomains as whm.customerdomain.tld as this is through Apache.
How can I block WHM access through the proxy subdomains also? Is my only solution to disable the proxy subdomains?
I appreciate any help on this issue.