Simple Tutorial to Banned Country IP Address With CSF
I just figure it out a simple way to banned country ip address using CSF.
If you are using a CSF you can edit your CSF config files like below :
Edit two letters country code in CC_DENY files.
Example : i want to banned US, ID, HK country
CC_Deny = US,ID,HK
If you want to banned others country.
You can take a look link below for the Country Code
After that restart CSF Services