Skip to content

Instantly share code, notes, and snippets.

@pstoute
Created April 17, 2025 19:11
Show Gist options
  • Save pstoute/bbe51cfd756ee3c220d9b090e72ff8fc to your computer and use it in GitHub Desktop.
Save pstoute/bbe51cfd756ee3c220d9b090e72ff8fc to your computer and use it in GitHub Desktop.
Cloudflare Allow List
(ip.src in $allowlist) or (cf.client.bot) or (cf.verified_bot_category in {"Search Engine Crawler" "Search Engine Optimization" "Monitoring & Analytics" "Advertising & Marketing" "Page Preview" "Academic Research" "Security" "Accessibility" "Webhooks" "Feed Fetcher" "Aggregator" "Other"}) or (http.user_agent eq "letsencrypt" and http.request.uri.path contains "acme-challenge") or (http.user_agent contains "SearchAtlas Bot") or (http.user_agent contains "WPUmbrella+UptimeMonitoring")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment