Update phone_singbox_v2.json

This commit is contained in:
zgqq 2026-02-24 09:48:03 +00:00
parent a913ba82c7
commit b267a7b33d

View File

@ -7,35 +7,36 @@
"servers": [ "servers": [
{ {
"tag": "local", "tag": "local",
"address": "https://223.5.5.5/dns-query", "type": "https",
"server": "223.5.5.5",
"detour": "DIRECT" "detour": "DIRECT"
}, },
{ {
"tag": "local2", "tag": "local2",
"address": "https://1.12.12.12/dns-query", "type": "https",
"server": "1.12.12.12",
"detour": "DIRECT" "detour": "DIRECT"
}, },
{ {
"tag": "fallback", "tag": "fallback",
"address": "tls://8.8.4.4", "type": "tls",
"server": "8.8.4.4",
"detour": "PROXY" "detour": "PROXY"
}, },
{ {
"tag": "fallback2", "tag": "fallback2",
"address": "tls://1.1.1.1", "type": "tls",
"server": "1.1.1.1",
"detour": "PROXY" "detour": "PROXY"
}, },
{ {
"tag": "fakeip", "tag": "fakeip",
"address": "fakeip" "type": "fakeip",
"inet4_range": "198.18.0.0/16",
"inet6_range": "fc00::/18"
} }
], ],
"rules": [ "rules": [
{
"outbound": "any",
"server": "local",
"disable_cache": true
},
{ {
"domain_suffix": [".lan", ".test", ".home.arpa"], "domain_suffix": [".lan", ".test", ".home.arpa"],
"server": "local" "server": "local"
@ -48,20 +49,11 @@
"clash_mode": "Global", "clash_mode": "Global",
"server": "fallback" "server": "fallback"
}, },
{
"geosite": "cn",
"server": "local"
},
{ {
"query_type": ["A", "AAAA"], "query_type": ["A", "AAAA"],
"server": "fakeip" "server": "fakeip"
} }
], ],
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/16",
"inet6_range": "fc00::/18"
},
"final": "fallback", "final": "fallback",
"independent_cache": true "independent_cache": true
}, },
@ -70,9 +62,7 @@
"type": "mixed", "type": "mixed",
"tag": "mixed-in", "tag": "mixed-in",
"listen": "127.0.0.1", "listen": "127.0.0.1",
"listen_port": 7890, "listen_port": 7890
"sniff": true,
"sniff_override_destination": true
} }
], ],
"outbounds": [ "outbounds": [
@ -279,46 +269,36 @@
{ {
"type": "direct", "type": "direct",
"tag": "DIRECT" "tag": "DIRECT"
},
{
"type": "block",
"tag": "REJECT"
},
{
"type": "dns",
"tag": "dns-out"
} }
], ],
"route": { "route": {
"geoip": {
"path": "geoip.db",
"download_url": "https://github.likezgq.top/https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db",
"download_detour": "DIRECT"
},
"geosite": {
"path": "geosite.db",
"download_url": "https://github.likezgq.top/https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db",
"download_detour": "DIRECT"
},
"rules": [ "rules": [
{
"inbound": "mixed-in",
"action": "sniff"
},
{ {
"protocol": "dns", "protocol": "dns",
"outbound": "dns-out" "action": "hijack-dns"
}, },
{ {
"clash_mode": "Direct", "clash_mode": "Direct",
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"clash_mode": "Global", "clash_mode": "Global",
"action": "route",
"outbound": "PROXY" "outbound": "PROXY"
}, },
{ {
"domain_suffix": ["anthropic.com"], "domain_suffix": ["anthropic.com"],
"action": "route",
"outbound": "PG_AMERICA" "outbound": "PG_AMERICA"
}, },
{ {
"domain": ["huggingface.co"], "domain": ["huggingface.co"],
"action": "route",
"outbound": "SB_SELECTED" "outbound": "SB_SELECTED"
}, },
{ {
@ -331,34 +311,42 @@
"cdn.usefathom.com", "cdn.usefathom.com",
"stripe.com" "stripe.com"
], ],
"action": "route",
"outbound": "GPT_SELECTED" "outbound": "GPT_SELECTED"
}, },
{ {
"domain_keyword": ["openai", "chatgpt", "claude", "sora", "grok", "aistudio"], "domain_keyword": ["openai", "chatgpt", "claude", "sora", "grok", "aistudio"],
"action": "route",
"outbound": "GPT_SELECTED" "outbound": "GPT_SELECTED"
}, },
{ {
"domain_keyword": ["gemini"], "domain_keyword": ["gemini"],
"action": "route",
"outbound": "GOOGLE_SELECTED" "outbound": "GOOGLE_SELECTED"
}, },
{ {
"domain_keyword": ["youtube"], "domain_keyword": ["youtube"],
"action": "route",
"outbound": "YOUTUBE_SELECTED" "outbound": "YOUTUBE_SELECTED"
}, },
{ {
"domain": ["bard.google.com", "one.google.com"], "domain": ["bard.google.com", "one.google.com"],
"action": "route",
"outbound": "PG_AMERICA" "outbound": "PG_AMERICA"
}, },
{ {
"domain_keyword": ["discord", "us-api", "paypal", "paypa1"], "domain_keyword": ["discord", "us-api", "paypal", "paypa1"],
"action": "route",
"outbound": "PG_AMERICA" "outbound": "PG_AMERICA"
}, },
{ {
"domain_keyword": ["reddit"], "domain_keyword": ["reddit"],
"action": "route",
"outbound": "REDDIT_SELECTED" "outbound": "REDDIT_SELECTED"
}, },
{ {
"domain_keyword": ["avgle", "porn", "xvideo", "xhamster"], "domain_keyword": ["avgle", "porn", "xvideo", "xhamster"],
"action": "route",
"outbound": "PG_JAPAN" "outbound": "PG_JAPAN"
}, },
{ {
@ -370,14 +358,17 @@
"nvidia.com", "nvidia.com",
"tailscale.com" "tailscale.com"
], ],
"action": "route",
"outbound": "PROXY" "outbound": "PROXY"
}, },
{ {
"ip_cidr": ["149.154.160.0/20", "91.108.4.0/22"], "ip_cidr": ["149.154.160.0/20", "91.108.4.0/22"],
"action": "route",
"outbound": "PROXY" "outbound": "PROXY"
}, },
{ {
"domain": ["time.windows.com", "clash.razord.top", "yacd.haishan.me"], "domain": ["time.windows.com", "clash.razord.top", "yacd.haishan.me"],
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
@ -387,10 +378,12 @@
"kgithub.com", "kgithub.com",
"lan" "lan"
], ],
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"domain_keyword": ["ra2web.com", "bun.sh.cn", "chronodivide.com"], "domain_keyword": ["ra2web.com", "bun.sh.cn", "chronodivide.com"],
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
@ -402,6 +395,7 @@
"142.171.94.73/32", "142.171.94.73/32",
"100.64.0.0/10" "100.64.0.0/10"
], ],
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
@ -413,41 +407,94 @@
"tailscaled", "tailscaled",
"Tailscale" "Tailscale"
], ],
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"ip_is_private": true, "ip_is_private": true,
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"geosite": "category-ads-all", "rule_set": "geosite-category-ads-all",
"outbound": "REJECT" "action": "reject"
}, },
{ {
"geosite": "icloud", "rule_set": "geosite-icloud",
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"geosite": "apple", "rule_set": "geosite-apple",
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"geosite": "google", "rule_set": "geosite-google",
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"geosite": "cn", "rule_set": "geosite-cn",
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"geoip": "cn", "rule_set": "geoip-cn",
"action": "route",
"outbound": "DIRECT" "outbound": "DIRECT"
}, },
{ {
"port": 22, "port": 22,
"action": "route",
"outbound": "SB_SELECTED" "outbound": "SB_SELECTED"
} }
], ],
"rule_set": [
{
"tag": "geosite-category-ads-all",
"type": "remote",
"format": "binary",
"url": "https://github.likezgq.top/https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-category-ads-all.srs",
"download_detour": "DIRECT"
},
{
"tag": "geosite-icloud",
"type": "remote",
"format": "binary",
"url": "https://github.likezgq.top/https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-icloud.srs",
"download_detour": "DIRECT"
},
{
"tag": "geosite-apple",
"type": "remote",
"format": "binary",
"url": "https://github.likezgq.top/https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-apple.srs",
"download_detour": "DIRECT"
},
{
"tag": "geosite-google",
"type": "remote",
"format": "binary",
"url": "https://github.likezgq.top/https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-google.srs",
"download_detour": "DIRECT"
},
{
"tag": "geosite-cn",
"type": "remote",
"format": "binary",
"url": "https://github.likezgq.top/https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs",
"download_detour": "DIRECT"
},
{
"tag": "geoip-cn",
"type": "remote",
"format": "binary",
"url": "https://github.likezgq.top/https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
"download_detour": "DIRECT"
}
],
"default_domain_resolver": "local",
"auto_detect_interface": true, "auto_detect_interface": true,
"final": "GPT_SELECTED" "final": "GPT_SELECTED"
}, },