HOW TO BLOCK TRAFFIC BY COUNTRY IN WHOLE SERVER VIA WHM ROOT? [STEP BY STEP]☑️
Here in this documentation you will learn how to block traffic by country in whole server via WHM root access.
One of the most-requested features on cPanel servers is the ability to manage and filter traffic at a country level. With the ConfigServer Firewall (CSF) plugin in WebHost Manager, you can do exactly that. But before getting started let us quick watch this video
Follow the steps given below to block traffic by country in CSF Firewall:
Step #1: Open the Firewall Plugin in WHM
Login to your WebHost Manager(WHM)
Navigate to Plugins section
Select ConfigServer Security & Firewall.
Now click on the Firewall Configuration button to open the configuration file.
Step #2: Deny Access by Country Code
On the Firewall Configuration page, scroll down to the Country Code Lists and Settings section.
Use the CC_DENY field to block by country code:
The CC_DENY field accepts two-letter country codes, such as “US” for the United States of America, “GB” for Great Britain, and “DE” for Germany.
Multiple countries can be comma separated with no spaces in between, such as “US,GB,DE” to deny access to the US, Great Britain, and Germany.
Step #3: Save Your Changes
That’s it!!!
We hope you have found this tutorial useful on how to block traffic by country via CSF Firewall in WHM.
If you enjoyed this tutorial, please consider following us on Facebook and Twitter.
Facebook Page- https://facebook.com/redserverhost
Twitter Page– https://twitter.com/redserverhost.com
If you have any query, feel free to let us know via the comments section below.
Thanks for Reading!!!
Tags: cheap linux hosting, buy linux hosting, cheap reseller hosting, buy reseller hosting, best reseller hosting, cheap web hosting, cheapest web hosting, cheapest reseller hosting, cheap reseller host, cheap linux host, cheapest linux hosting, best linux hosting, best web hosting