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.

Log into WHM as root.

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

Click on the “Firewall Configuration” button.

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

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

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

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.

Дали Ви помогна овој одговор? 0 Корисниците го најдоа ова како корисно (0 Гласови)