Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

How to block traffic based on domain country codes

 

Information

 

Summary:

Blocking based on domain country codes

Environment:

Product: LoadMaster

Version: Any

Platform: Any

Application: Any

Question/Problem Description:

Need to block URLs based on country of origin, i.e. .RU, .CN, .IR, etc.

Steps to Reproduce:  
Error Message:  
Defect Number:  
Enhancement Number:  
Cause:  
Resolution:

 

  • Kemp offers a Web Application Firewall (WAF) feature which allows you to block traffic specifically based on country of origin. Based on GEO IP information, you can select countries that should not be allowed access. This would probably be the easiest way to block traffic sourcing from entire countries.

 

  • WAF is a feature that is available on a Enterprise Plus support level.

 

  • Content Switching can be used to block specific requests to domains or URLs though, so for example if you wanted to block requests to "example.ru", you could create a simple content rule to match on /\.ru/ and fail it:

 

Host_Match.jpg

 

  • This content rule would fail any requests that contain ".ru". This process can be repeated for subsequent country domains.

 

Workaround:  
Notes:

https://kemptechnologies.com/solutions/waf

https://support.kemptechnologies.com/hc/en-us/articles/115004181826-How-to-configure-Content-Rules-Examples-Included-#Match%20on%20Host


Was this article helpful?
0 out of 0 found this helpful

Comments