You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

How to Block a Whole Country Via CSF



In the event you need to block a whole country, this can be done via the CC_DENY option located within ConfigServer Security & Firewall.


    1. Log into WHM as root



    1. Click on the “ConfigServer Security & Firewall” link within the “Plugins” section.



    1. Click on the “Firewall Configuration” button.



    1. Search for the “Country Code List and Settings” section.



    1. Enter in the 2 letter CIDR country code you would like to block within the CC_DENY section.



    1. Scroll down to the very bottom and click the “Change” button.



    1. Click the “Restart csf+lfd” button to apply the changes and restart the firewall.



 

From here the country or countries added will no longer be able to access the server.


 

  • No labels