We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924

Block unwanted countries using the CSF Firewall

Block unwanted countries using the CSF Firewall

Sometime you get many unwant hits from different countries.
You can block full IP range of those countries through CSF firewall.
It will save alot of CPU and Memory resources for your real visitors that really need it.

# Login to WHM with Root user

# Click on “ConfigServer Security & Firewall

# Click the “Firewall Configuration” button

# Locate “CC_DENY” option and enter two letter Country Codes which country you want to block for your server.

You will find two letter codes at https://www.l3webhosting.com/blog/2018/10/19/complete-list-of-country-and-dialing-codes/

# Save and restart CSF Firewall.


Leave a Reply

Your email address will not be published. Required fields are marked *