How to close ports on service subdomains?
My primary question is: how do I close various ports for subdomains?
In example port 993 for mail.example.com is fine. However I don't need port 993 for whm.example.com.
That being said is the port management specific or obtuse? Can I close ports 25 110, 143 and 993 for service subdomains without it effecting mail.example.com or is it all-or-nothing right now?
-
Hey hey! I'm not sure we can mix ports and domains as the network operations have no concept of domains.
What we could do is block ports for specific IPs though with WHM >> Host Access Control:
https://docs.cpanel.net/whm/security-center/host-access-control/
but it wouldn't be able to handle specific subdomains.
I think to get that level of control you'd need more in-depth firewall tools than what we have available in the interface, if it's even possible (I don't personally know enough the various manual firewall configuration options to even know if that is a thing).
1 -
Rex, thank you for the clarification. This question is in regards to ImmuniWeb which tests all of the ports for all of the subdomains it detects. I'm not too concerned about it now if it's not really applicable and likely a method for them to somehow "justify" getting people to pay for their premium services.
0 -
You're very welcome!
1
Please sign in to leave a comment.
Comments
3 comments