Skip to content

Instantly share code, notes, and snippets.

@ChouE
Created May 25, 2021 06:57
Show Gist options
  • Save ChouE/e152522905896f5ebf0a1f30ee5b8d61 to your computer and use it in GitHub Desktop.
Save ChouE/e152522905896f5ebf0a1f30ee5b8d61 to your computer and use it in GitHub Desktop.
mixin:
dns:
enable: true
enhanced-mode: redir-host
nameserver:
- 1.1.1.1 # 真实请求DNS,可多设置几个
- https://doh.dns.sb/dns-query
- https://dns.adguard.com/dns-query
- https://cdn-doh.ssnm.xyz/dns-query
- 119.29.29.29 #腾讯
- 223.5.5.5 #阿里
# interface-name: en0 # 出口网卡名称,或者使用下方的自动检测
tun:
enable: true
stack: gvisor
dns-hijack:
- 198.18.0.2:53
macOS-auto-route: true
macOS-auto-detect-interface: true # 自动检测出口网卡
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment