Introduction
CSF has a feature that allows users to block countries by their country code.
Procedure
You can block a country by adding its country code using the CC_DENY directive in the CSF configuration. Below is an example where three country codes are blocked:
CC_DENY = "RU,CN,DE"
This setting can be adjusted within WHM by following these steps:
1. Navigate to "Plugins / ConfigServer Security & Firewall / Firewall Configuration".
2. From the Firewall Configuration screen, specify the countries to block in the field for the CC_DENY directive. This field is shown in the screenshot below:
3. Save your changes.
Comments
0 comments
Article is closed for comments.