手机 whatsapp 访问问题

4 天前
 mikaelson
做了全局 vpn ,自动分流规则也都配好了

电脑手机访问都没问题,谷歌,x ,那些

手机打开 whatsapp 一直显示连接中,但是手机访问其他都没问题。可以正常出网。

试了单独给 whataspp 加规则也没用 (单独在手机上装小火箭挂梯子就没问题)

电脑上用 whatsapp web 页面没问题

这大概是什么问题?感觉规则也都覆盖了。

恩山上有看到人有人讨论,但是似乎都未解决 https://www.right.com.cn/forum/thread-8273322-1-1.html
863 次点击
所在节点    问与答
2 条回复
shuiduoduo
4 天前
vpn 客户端的问题
配置贴出来
mikaelson
4 天前
@shuiduoduo #1 试了一下, 安卓都没问题,规则应该是没错的

{
"experimental": {
"clash_api": {
"external_controller": "0.0.0.0:9090",
"external_ui": "ui",
"external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
"external_ui_download_detour": "select"
},
"cache_file": {
"enabled": true,
"store_fakeip": true
}
},
"log": {
"disabled": false,
"level": "info",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "local",
"address": "local"
},
{
"tag": "cloudflare",
"address": "https://1.1.1.1/dns-query",
"address_resolver": "local"
},
{
"tag": "dnspod",
"address": "https://1.12.12.12/dns-query",
"detour": "direct"
},
{ "tag": "dns-cn", "address": "223.5.5.5", "detour": "direct" }
],
"rules": [
{
"outbound": "any",
"server": "dnspod"
},
{
"clash_mode": "Direct",
"server": "dnspod"
},
{
"clash_mode": "Global",
"server": "cloudflare"
},
{
"type": "logical",
"mode": "and",
"rules": [
{
"geosite": "google@cn",
"invert": true
},
{
"geosite": ["cn"]
}
],
"server": "dnspod"
}
],
"final": "cloudflare",
"strategy": "prefer_ipv4"
},
"inbounds": [
{
"type": "socks",
"tag": "socks-in",
"listen": "::",
"listen_port": 6154,
"sniff": true
},
{
"type": "socks",
"tag": "socks-in",
"listen": "::",
"listen_port": 6153,
"sniff": true,
"sniff_override_destination": true
},
{
"type": "http",
"tag": "http-in",
"listen": "::",
"listen_port": 6152,
"sniff": true,
"sniff_override_destination": true
},
{
"type": "tun",
"tag": "tun-in",
"inet4_address": "172.19.0.1/30",
"mtu": 9000,
"auto_route": true,
"strict_route": true,
"stack": "gvisor",
"sniff": true,
"udp_timeout": 60,
"sniff_override_destination": true,
"inet4_route_address": [
"224.0.0.0/3",
"208.0.0.0/4",
"200.0.0.0/5",
"196.0.0.0/6",
"194.0.0.0/7",
"193.0.0.0/8",
"192.192.0.0/10",
"192.176.0.0/12",
"192.172.0.0/14",
"192.170.0.0/15",
"192.169.0.0/16",
"192.160.0.0/13",
"192.128.0.0/11",
"192.0.0.0/9",
"176.0.0.0/4",
"174.0.0.0/7",
"173.0.0.0/8",
"172.128.0.0/9",
"172.64.0.0/10",
"172.32.0.0/11",
"172.0.0.0/12",
"168.0.0.0/6",
"160.0.0.0/5",
"128.0.0.0/3",
"64.0.0.0/2",
"32.0.0.0/3",
"16.0.0.0/4",
"12.0.0.0/6",
"11.0.0.0/8",
"8.0.0.0/7",
"0.0.0.0/5"
]
}
],

"outbounds": [
{
"type": "shadowsocks",
...
},
{
"type": "shadowsocks",
...
},
{
"type": "shadowsocks",
...
},
{
"type": "vmess",
...
},
{
"type": "vmess",
...
},
{
"type": "direct",
"tag": "direct"
},
{
"type": "selector",
"tag": "other",
"outbounds": ["...."]
},
{
"type": "dns",
"tag": "dns"
},
{
"type": "selector",
"tag": "cloudcone",
"outbounds": [ "..."]
},
{
"type": "selector",
"tag": "select",
"outbounds": ["...", "other"]
},
{
"type": "block",
"tag": "block"
}
],
"route": {
"rule_set": [
{
"tag": "geoip-cn",
"type": "local",
"format": "binary",
"path": "/root/sing-box/rule-set/geoip-cn.srs"
},
{
"tag": "geosite-google",
"type": "local",
"format": "binary",
"path": "/root/sing-box/rule-set/geosite-google.srs"
},
{
"tag": "geosite-amazon",
"type": "local",
"format": "binary",
"path": "/root/sing-box/rule-set/geosite-amazon.srs"
},
{
"tag": "geosite-microsoft",
"type": "local",
"format": "binary",
"path": "/root/sing-box/rule-set/geosite-microsoft.srs"
},
{
"tag": "geosite-apple",
"type": "local",
"format": "binary",
"path": "/root/sing-box/rule-set/geosite-apple.srs"
},
{
"tag": "geosite-github",
"type": "local",
"format": "binary",
"path": "/root/sing-box/rule-set/geosite-github.srs"
}
],
"rules": [
{
"protocol": "dns",
"outbound": "dns"
},
{
"network": "udp",
"port": 53,
"outbound": "dns"
},
{
"clash_mode": "Direct",
"outbound": "direct"
},
{
"clash_mode": "Global",
"outbound": "select"
},
{
"domain_keyword": ["whatsapp"],
"outbound": "other"
}
{
"type": "logical",
"mode": "and",
"rules": [
{
"geosite": "google@cn",
"invert": true
},
{
"geosite": ["cn"],
"geoip": ["cn", "private"]
}
],
"outbound": "direct"
}
],
"auto_detect_interface": true,
"final": "select"
}
}

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://ex.noerr.eu.org/t/1179931

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX