No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
XLion d9a3bdb1a5
All checks were successful
Update Filter Lists / cgps (pull_request) Successful in 4m16s
Use Bun for filter list workflow
2026-05-29 17:08:33 +08:00
.forgejo Use Bun for filter list workflow 2026-05-29 17:08:33 +08:00
app@dcc4035832 Update app digest to dcc4035 2026-05-08 17:14:35 +00:00
.bun-version Use Bun for filter list workflow 2026-05-29 17:08:33 +08: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 Use Bun for filter list workflow 2026-05-29 17:08:33 +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