Whitelisting Countries in cPHulk?

tomdchi

Well-Known Member
Feb 24, 2008
135
2
68
Atlanta, GA
cPanel Access Level
DataCenter Provider
What does setting a country as whitelisted or not specified do exactly?

My assumption is that whitelisting a country exempts that country from cPhulk rules. Is that correct?
 

linux4me2

Well-Known Member
Aug 21, 2015
240
64
28
USA
cPanel Access Level
Root Administrator
According to the docs, "The whitelist specifies the IP addresses that cPHulk always allows to log in to your server." The blacklist specifies the IP addresses that cPHulk never allows to log in to your server. If a country is "not specified," it's neither whitelisted nor blacklisted, so the IP would be handled by cPHulk without regard to the country of origin.
 
  • Like
Reactions: cPanelLauren

EneTar

Well-Known Member
Dec 19, 2015
150
12
18
Greece
cPanel Access Level
Root Administrator
I'm sorry but I'm having trouble understanding the documentation at this point: "The whitelist specifies the IP addresses that cPHulk always allows to log in to your server." What does "log in to your server" mean exactly?

According to the docs cphulk protects

cPanel services (Port 2083).
WHM services (Port 2087).
Mail services (Dovecot and Exim).
The PureFTPd service.
Secure Shell (SSH) access.

So countries blacklisting/whitelisting affects all those?

I'm not sure but I suppose that yes it does affect all of those. However I think that it would be a great feature to choose what to block. For example on large systems webmail users could be anywhere in the world really. However all other services could be restricted to one country in most cases.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,080
657
263
Houston
cPanel Access Level
DataCenter Provider
What does "log in to your server" mean exactly?
It would mean anyone trying to gain access to the services listed:

cPanel services (Port 2083).
WHM services (Port 2087).
Mail services (Dovecot and Exim).
The PureFTPd service.
Secure Shell (SSH) access.

So countries blacklisting/whitelisting affects all those?
Exactly


However I think that it would be a great feature to choose what to block. For example on large systems webmail users could be anywhere in the world really. However all other services could be restricted to one country in most cases.
This is a pretty new feature and I think we would love to hear about improvement to it. I would encourage you to open a feature request using the link in my signature to address that!
 
  • Like
Reactions: linux4me2