Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.01 KB

File metadata and controls

16 lines (11 loc) · 1.01 KB

Proxy Blocking WAF Rules (Cloudflare)

Cloudflare WAF rules to block VPN/Proxy/Tor request.

  • Common VPN hostings are fully blocked. Like OVH, DIGITAL-OCEAN and many others. Also detects some bots, crawlers, bad vulnerability scanners too.
  • Blocks requests based on the AS numbers.
  • Tested with a bunch of different VPNs such as Proton, Adguard, HMA and more. Including some free/cheap Chrome Web Store VPNs.

Note

There is two VPN/Proxy blocking rules since Cloudflare has a char limit of 4096 per rule. Make sure you don't have more than 2-3 rules in your current WAF configuration if you're a Cloudflare Free user.

Contribute

  • Some VPNs are not being detected? Contribute to this repository! Add the AS numbers you find to both block_vpns2 and asn_list and create a pull request (please also add the VPN names to description). Thanks for your support!

Used in this repository