Geo-blocking & Tor Control with Cloudflare WAF

A demo showing how Cloudflare WAF Custom Rules can block access from the Tor network and high-risk countries to protect web applications.

Your Connection Info

Realtime data from Cloudflare Edge Network:

IP Address Loading...
Country Loading...
Data Center Loading...
TLS Version Loading...
HTTP Protocol Loading...
Status Checking...

What This Demo Does

Demo Scenario: Tor Browser vs Chrome

What happens when you access this website from different browsers:

Tor Browser

Access from Tor anonymity network.
IP flagged as Tor Exit Node.
Country: T1

403 Forbidden

Chrome / Firefox

Normal access.
Valid IP, known country.
No suspicious indicators.

Access Granted

How It Works

  1. User sends HTTP request Browser (Chrome, Tor, etc.) sends a request to the domain configured with Cloudflare DNS.
  2. Cloudflare Edge receives request Request hits the nearest PoP (Point of Presence). Cloudflare determines IP, GeoIP country, TLS fingerprint, and checks Tor exit node status.
  3. WAF Rules Engine evaluates Custom Rules are executed: checks ip.geoip.country, Tor detection flags, and other conditions.
  4. Action is taken Block: returns 403 Forbidden. Challenge: shows CAPTCHA. Allow: forwards request to origin.
  5. Response returned to user User sees the normal page (if allowed) or an error/challenge page (if blocked).

Related Cloud Computing Concepts

SaaS Model

Cloudflare WAF is a SaaS product. Users configure rules without managing any infrastructure.

Resource Pooling

Cloudflare shares edge server infrastructure across millions of websites via multi-tenancy.

Rapid Elasticity

WAF rules automatically scale across 300+ PoPs without user intervention.

On-demand Self-service

Free tier for basic features, pay more for advanced capabilities. True pay-as-you-go model.

Cloud Security

Addresses challenges like loss of control, multi-tenancy risks, and expanding attack surfaces.

Edge Computing

Security rules are processed at the edge, near the user, reducing latency compared to origin-based processing.