How to whitelist dynamic IPs & blacklist certain countries ?
How to whitelist dynamic IPs & blacklist certain countries ?
Hi
Is there any way to whitelist my IP addresses which are dynamic IPs and changes continuously ?
Another thing: How to blacklist a particular country IPs such as China because I noticed that most of brute force comes from it ?
Thanks
[COLOR="silver">- - - Updated - - -
For WHM Panel
-
@almusammem, Are you speaking about mod_security block. If so, you can whitelist the particular rule to username. For country block use CSF but most of the IP address in GEO database so you can't block the entire country. 0 -
Hello :) Are you referring to cPHulk or just an overall block in your firewall? Block Whole Countries in CSF Thank you. 0 -
Re: How to whitelist dynamic IPs & blacklist certain countries ? With my dynamic IP at home, it appears that the first two octets remain constant. So in cphulk whitelist, add the first two octets as follows xxx.xxx.0.0/16 in host access control add the same two octects but in the following format. xxx.xxx.0.0/255.255.0.0 No disrespect, i'm assuming with only 1 post, this is all new to you. ?? If this is the case, then i would highly recommend that you install CSF firewall, as a matter of importance. 0
Please sign in to leave a comment.
Comments
3 comments