No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-09 14:24:48 +00:00
.forgejo Use mirror 2026-08-15 15:04:25 +00:00
app@f85b111ec4 chore(deps): update app digest to f85b111 2026-11-08 23:32:48 +00:00
.bun-version chore(deps): update dependency bun to v1.4.4 2026-11-09 04:48:18 +00:00
.gitattributes Setup 2025-06-04 18:55:31 +08:00
.gitmodules Submodule 2025-06-15 02:13:22 +08:00
certificate.crt Add cert to apply Gateway inspection, display the block page 2025-08-19 21:53:17 +00:00
certificate.pem Add cert to apply Gateway inspection, display the block page 2025-08-19 21:53:17 +00:00
LICENSE Initial commit 2025-06-04 10:38:25 +00:00
README.md Update README.md 2026-02-10 19:21:50 +00:00
renovate.json5 chore(renovate): adopt shared presets 2026-07-27 00:13:20 +08:00
xlion-cloudflare-gateway-doh.mobileconfig 更新 xlion-cloudflare-gateway-doh.mobileconfig 2025-06-15 08:38:05 +00:00

cloudflare-gateway-ad

main

Use this small program to make Cloudflare Gateway as a DNS filter: https://github.com/mrrfv/cloudflare-gateway-pihole-scripts (Mirror)

I mostly using this for my friends or neighbors that I don't need to worry about if my self-hosted AdGuard Home is down, and I can still have the ability to control the DNS filters that they're using for good faith.

Setup

Apple

Use Safari to open:

Apple DoH Profile

DoH: DNS over HTTPS

https://kg4xyyyedx.cloudflare-gateway.com/dns-query

Use for: Most browser, some routers, Windows 11

DoT: DNS over TLS

kg4xyyyedx.cloudflare-gateway.com

Use for: Android Private DNS, systemd-resolved

DoT is not suggested when DoH option available, some ridiculous public WiFi will block almost all internet protocols besides HTTP and DNS.

Lists

Because the limitation of 300,000 domains, the AD/Privacy blocklist coverage isn't great, but fine for lots of cases.

For URLs, see:

https://git.xlion.tw/infra/cloudflare-gateway-ad/src/branch/main/.forgejo/workflows/main.yml

  • Cloudflare Gateway built-in categories 1:
    • Command and Control & Botnet, Cryptomining, DGA Domains, DNS Tunneling, Malware, Phishing, Spam, Spyware, Brand Embedding, Compromised Domain
    • Block reason will say: General Security
  • Cloudflare Gateway built-in categories 2:
    • Security Risks, New Domains(NRD), Newly Seen Domains, Parked & For Sale Domains
    • Block reason will say: NRD/Newly Seen
  • HaGeZi's
    • Multi Pro