Firewall rules

I have the following filters set in my cloudflare firewall in this specific order:

  • (ip.geoip.country in {"PK" "CN"})
  • (http.host eq "notes.ekvastra.in" and http.request.uri.query contains "action=")
  • (http.request.full_uri eq "https://wiki.ekvastra.in/doku.php?do=sitemap")
  • (http.host eq "wiki.ekvastra.in" and http.request.uri.query contains "do=")

I also have rate limiting implemented for login attempts. 5 requests per 5 minutes is allowed then block for 15 minutes, allow only POST method.

I also have two page rules to improve caching of podcast.ekvastra.in and initial page redirect of wiki.ekvastra.in.