mihomo-kit/templates/sniffer/10-base.yaml
2026-10-26 19:05:48 +03:00

20 lines
653 B
YAML

sniffer:
enable: true
force-dns-mapping: true
parse-pure-ip: true
override-destination: false
# ECH: browsers show the outer name cloudflare-ech.com instead of the site behind
# Cloudflare; the sniffed name wins in the rules, so .ru / own lists would miss the
# site. Skipped: the rules see the name from mihomo's DNS (fake-ip / DNS mapping).
skip-domain:
- "+.cloudflare-ech.com"
sniff:
HTTP:
ports: [80, 8080-8880] #@!lite
ports: [80, 8080] #@lite
TLS:
ports: [443, 8443]
# lite: no QUIC (fake-ip already gives the domain; pure-IP QUIC goes by IP)
QUIC: #@!lite
ports: [443, 8443] #@!lite