fix: add strict-route for fix #63
This commit is contained in:
1 parent
f6b6a6f06f
commit
0034ef1487
1 file changed
+12
-18
+12
-18
@@ -1,34 +1,28 @@
|
||||
# mixin-config-start
|
||||
|
||||
# clashui 配置
|
||||
external-controller: '0.0.0.0:9090'
|
||||
external-ui: public
|
||||
|
||||
# clashsecret 配置
|
||||
secret:
|
||||
|
||||
|
||||
# clashtun 配置
|
||||
tun:
|
||||
enable: false
|
||||
stack: system # or gvisor
|
||||
stack: system
|
||||
auto-route: true
|
||||
auto-redir: true # clash
|
||||
auto-redirect: true # mihomo
|
||||
auto-detect-interface: true
|
||||
dns-hijack:
|
||||
- 8.8.8.8:53
|
||||
- tcp://8.8.8.8:53
|
||||
- any:53
|
||||
- tcp://any:53
|
||||
auto-route: true # manage $(ip route) and $(ip rules)
|
||||
auto-redir: true # manage nftable REDIRECT
|
||||
auto-redirect: true # manage nftable REDIRECT
|
||||
auto-detect-interface: true
|
||||
strict-route: true
|
||||
|
||||
# dns 配置
|
||||
# DNS 配置
|
||||
dns:
|
||||
enable: true
|
||||
listen: '127.0.0.1:1053'
|
||||
ipv6: true
|
||||
default-nameserver: [114.114.114.114, 223.5.5.5, 119.29.29.29]
|
||||
listen: 0.0.0.0:1053
|
||||
enhanced-mode: fake-ip
|
||||
fake-ip-range: 28.0.0.1/8
|
||||
use-hosts: true
|
||||
fake-ip-filter: ['*.lan', '*.localdomain', '*.example', '*.invalid', '*.localhost', '*.test', '*.local', '*.home.arpa', 'time.*.com', 'time.*.gov', 'time.*.edu.cn', 'time.*.apple.com', 'time1.*.com', 'time2.*.com', 'time3.*.com', 'time4.*.com', 'time5.*.com', 'time6.*.com', 'time7.*.com', 'ntp.*.com', 'ntp1.*.com', 'ntp2.*.com', 'ntp3.*.com', 'ntp4.*.com', 'ntp5.*.com', 'ntp6.*.com', 'ntp7.*.com', '*.time.edu.cn', '*.ntp.org.cn', +.pool.ntp.org, time1.cloud.tencent.com, music.163.com, '*.music.163.com', '*.126.net', musicapi.taihe.com, music.taihe.com, songsearch.kugou.com, trackercdn.kugou.com, '*.kuwo.cn', api-jooxtt.sanook.com, api.joox.com, joox.com, y.qq.com, '*.y.qq.com', streamoc.music.tc.qq.com, mobileoc.music.tc.qq.com, isure.stream.qqmusic.qq.com, dl.stream.qqmusic.qq.com, aqqmusic.tc.qq.com, amobile.music.tc.qq.com, '*.xiami.com', '*.music.migu.cn', music.migu.cn, +.msftconnecttest.com, +.msftncsi.com, msftconnecttest.com, msftncsi.com, localhost.ptlogin2.qq.com, localhost.sec.qq.com, +.srv.nintendo.net, +.stun.playstation.net, 'xbox.*.microsoft.com', xnotify.xboxlive.com, +.ipv6.microsoft.com, +.battlenet.com.cn, +.wotgame.cn, +.wggames.cn, +.wowsgame.cn, +.wargaming.net, proxy.golang.org, 'stun.*.*', 'stun.*.*.*', '+.stun.*.*', '+.stun.*.*.*', '+.stun.*.*.*.*', heartbeat.belkin.com, '*.linksys.com', '*.linksyssmartwifi.com', '*.router.asus.com', mesu.apple.com, swscan.apple.com, swquery.apple.com, swdownload.apple.com, swcdn.apple.com, swdist.apple.com, lens.l.google.com, stun.l.google.com, '*.square-enix.com', '*.finalfantasyxiv.com', '*.ffxiv.com', '*.ff14.sdo.com', ff.dorado.sdo.com, '*.mcdn.bilivideo.cn', +.media.dssott.com, +.pvp.net]
|
||||
nameserver: ['tls://223.5.5.5:853', 'tls://223.6.6.6:853', 'https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query']
|
||||
nameserver:
|
||||
- 114.114.114.114
|
||||
- 8.8.8.8
|
||||
Reference in new issue
Block a user