Skip to content

Domain Sniffing

sniffer:
enable: false
force-dns-mapping: true
parse-pure-ip: true
override-destination: false
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
force-domain:
- +.v2ex.com
skip-domain:
- Mijia Cloud
skip-src-address:
- 192.168.0.3/32
skip-dst-address:
- 192.168.0.3/32

Whether to enable the sniffer.

Force sniffing for traffic identified through redir-host mappings.

Force sniffing for all traffic where no domain name was obtained.

Whether to use the sniffing result as the actual destination. Defaults to true.

Protocols to sniff. Only HTTP, TLS, and QUIC are supported.

  • ports: Port range
  • override-destination: Overrides the global override-destination setting

List of domains that must be sniffed. Uses domain wildcards.

List of domains excluded from sniffing. Uses domain wildcards.

List of source IP ranges excluded from sniffing.

List of destination IP ranges excluded from sniffing.