如题,目前用的 clash verge ( v1.3.8 )作为 gui ,meta v1.16.0 作为 core 。tailscale(1.54)在 tun 开启的时候,都会走中继而不能直接打通。只要关上 tun 就能立马打通。目前是手动开关 tun 来解决使用问题的,不过想了解下这个问题的原因和解决方案。对网络方面的技术还不是很熟,有没有老哥能解答下~
tun 和 dns 部分的大体配置如下(网上拼拼凑凑搞得...):
tun:
enable: false
stack: system
dns-hijack:
- 'any:53'
auto-route: true
auto-detect-interface: true
dns:
enabled: true
ipv6: true
listen: 127.0.0.1:53
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter:
- '*'
- '+.lan'
- '+.local'
use-hosts: true
nameserver-policy:
"*.google.com": 8.8.8.8
"*.tw": 1.1.1.1
testflight.apple.com: 8.8.8.8
"*.tmall.com": 223.5.5.5
"*.taobao.com": 223.5.5.5
"*.alicdn.com": 223.5.5.5
"*.aliyun.com": 223.5.5.5
"*.alipay*.com": 223.5.5.5
"*.alibaba*.com": 223.5.5.5
"*.alimama*.com": 223.5.5.5
"geosite:private":
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
"geosite:geolocation-!cn":
- 'https://dns.cloudflare.com/dns-query#dns'
- 'https://dns.google/dns-query#dns'
default-nameserver:
- 223.5.5.5
nameserver:
- "https://doh.pub/dns-query"
- "https://223.5.5.5/dns-query"
- https://dns.alidns.com/dns-query
proxy-server-nameserver:
- https://doh.pub/dns-query
fallback:
- https://dns.cloudflare.com/dns-query
- https://doh.mullvad.net/dns-query
- "https://doh.dns.sb/dns-query"
- "https://1.1.1.1/dns-query"
- "tls://8.8.4.4:853"
fallback-filter:
geoip: true
ipcidr:
- 240.0.0.0/4
- 0.0.0.0/32
1
aeron 2023-12-13 09:28:52 +08:00
写个规则走直连?我是用的进程规则,tailscale ,tailscaled 进程走直连弄得
|
2
DigitalG OP |
4
GooMS 127 天前
|