cloudflare-block-countries

Installation
SKILL.md

Cloudflare Country Block via WAF Custom Rules

Block traffic from specific countries using Cloudflare WAF Custom Rules and the Cloudflare API.

Prerequisites

  • Cloudflare API Token with Zone:Rulesets:Edit permission
  • Zone ID for the target domain
  • curl and jq installed

Workflow

1. Get Zone IDs

Installs
2
GitHub Stars
26
First Seen
Oct 29, 2026