☁️
Cloudflare Guides
  • WAF (Web Application Firewall)
    • Guides
      • Log Guide
        • Page 6
        • Page 1
        • Page 2
        • Page 4
      • Block Guide
        • Block a Browser
        • Block a Country
        • Block a Continent
        • Block by IP Address
      • Managed Challenges Guide
        • Managed Challenge IP Range
        • Managed Challenge Browser
        • Managed Challenge Continent
        • Managed Challenge Country
      • Legacy Captcha Guide
        • Legacy CAPTCHA IP Address
        • Legacy CAPTCHA for Country
        • Legacy CAPTCHA by Browser
        • Legacy CAPTCHA Continent
      • Rate Limiting Guide
      • Bots Guide
  • DNS Guide
  • Speed Optimization
  • Fundamentals
  • Network Linux Commands
  • WireShark
  • SSL/TLS
  • DNS Query
Powered by GitBook
On this page
  • Step 1: Name your Rule
  • Step 2: Set Matching Rule
  • Step 3: Select Action
  • Step 4: Deploy Rule
  • Step 5: Check Rule Deployment
  1. WAF (Web Application Firewall)
  2. Guides
  3. Legacy Captcha Guide

Legacy CAPTCHA for Country

This is a step-by-step tutorial on setting a CAPTCHA on a country.

PreviousLegacy CAPTCHA IP AddressNextLegacy CAPTCHA by Browser

Last updated 3 years ago

Step 1: Name your Rule

When naming your firewall it is best practice to use a name that encapsulates the rule.

Example:

Step 2: Set Matching Rule

The fields below reflect a rule that applies to the United States.

Example:

Expression: (ip.geoip.country eq "US")

Step 3: Select Action

This block action will be executed with every request matching the fields above.

Example:

Step 4: Deploy Rule

Select Deploy firewall rule to have all your changes reflect instantly.

Step 5: Check Rule Deployment

Client View: Visit host from a device that matches the rules. Example:

Good to know: Splitting your product into fundamental concepts, objects, or areas can be a great way to let readers deep dive into the concepts that matter most to them.