SOLVED cphulk country whitelist using cli?

NotNulled

Registered
Nov 9, 2017
2
0
1
Chile
cPanel Access Level
DataCenter Provider
Hi,

There is a cli script to add a IP to the cphulk white list or black list : /scripts/cphulkdwhitelist or /scripts/cphulkdblacklist

But now in cpanel 70, how I can add country to the whitelist/blacklist using cli commands?

We work with ansible, and the "cli" is a must, we have to send a config update to all our servers.

Thanks!
Regards
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
  • Like
Reactions: linux4me2