Challenge Page & Cloudflare Turnstile
Instead of blocking, you can challenge visitors: real people pass a quick browser check and continue, while bots and scripts are stopped. Great for VPN traffic, risky regions or busy pages under attack.
When is the challenge shown?
By any custom rule with the action Challenge (Blocking Rules → Custom rules).
For everyone your general rules would block, if Blocked visitors see → A human-verification challenge is selected.
Two challenge types
1. JavaScript proof-of-work (default, no setup)
The page shows "Checking your browser…" and the browser solves a small SHA-256 puzzle (a fraction of a second for a real device). The answer is verified on your server, bound to the visitor's IP, and a signed cookie lets them through for 24 hours. Visitors without JavaScript, simple bots and curl/wget scripts never pass.
2. Cloudflare Turnstile (CAPTCHA-style)
Create a free widget at Cloudflare → Turnstile and add your domain.
Copy the Site key and Secret key into Geo-Blocker → Security → Challenge page.
Save. Challenged visitors now see the Turnstile widget (usually invisible or a single click). The token is verified server-side with Cloudflare.
You don't need to use Cloudflare's CDN for Turnstile.
Design
The challenge page uses the same template, colours, logo and footer as your block page (Geo-Blocker → Block Page).
Details
Sent with HTTP 403 and no-cache headers.
Each puzzle can be used only once; the pass cookie is HTTP-only, SameSite=Lax and signed with a per-site secret.
Every challenge shown is logged as Challenged.
Works with cache-safe mode: cached pages request the challenge from the server.
Was this guide helpful?