person-share/phone_singbox_v2.json
2026-02-24 09:16:32 +00:00

537 lines
13 KiB
JSON

{
"log": {
"level": "info",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "local",
"address": "https://223.5.5.5/dns-query",
"detour": "DIRECT"
},
{
"tag": "local2",
"address": "https://1.12.12.12/dns-query",
"detour": "DIRECT"
},
{
"tag": "fallback",
"address": "tls://8.8.4.4",
"detour": "PROXY"
},
{
"tag": "fallback2",
"address": "tls://1.1.1.1",
"detour": "PROXY"
},
{
"tag": "fakeip",
"address": "fakeip"
}
],
"rules": [
{
"outbound": "any",
"server": "local",
"disable_cache": true
},
{
"domain_suffix": [".lan", ".test", ".home.arpa"],
"server": "local"
},
{
"clash_mode": "Direct",
"server": "local"
},
{
"clash_mode": "Global",
"server": "fallback"
},
{
"geosite": "cn",
"server": "local"
},
{
"query_type": ["A", "AAAA"],
"server": "fakeip"
}
],
"fakeip": {
"enabled": true,
"inet4_range": "198.18.0.0/16",
"inet6_range": "fc00::/18"
},
"final": "fallback",
"independent_cache": true
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1",
"listen_port": 7890,
"sniff": true,
"sniff_override_destination": true
}
],
"outbounds": [
{
"type": "vless",
"tag": "vless_likezgq_dmcf",
"server": "dmit01.likezgq.top",
"server_port": 2053,
"uuid": "3e7dab20-a75f-4da0-a338-6bc5d5b6d0c1",
"tls": {
"enabled": true,
"insecure": true,
"server_name": "dmcf.likezgq.top"
},
"transport": {
"type": "ws",
"path": "/ws",
"headers": {
"Host": "dmcf.likezgq.top"
}
}
},
{
"type": "vmess",
"tag": "vmess_cfws_likezgq",
"server": "172.64.93.84",
"server_port": 8080,
"uuid": "e3a45881-f11b-42da-b0d0-4f1f57c5d57b",
"security": "none",
"alter_id": 0,
"transport": {
"type": "ws",
"path": "/ws",
"headers": {
"Host": "cfws.likezgq.top"
}
}
},
{
"type": "vmess",
"tag": "vmess_cfws_tls_likezgq",
"server": "104.16.29.191",
"server_port": 2053,
"uuid": "a226be6c-2b1c-49c3-ad6b-f5857704f003",
"security": "none",
"alter_id": 0,
"tls": {
"enabled": true,
"insecure": true,
"server_name": "cftls.likezgq.top"
},
"transport": {
"type": "ws",
"path": "/tls",
"headers": {
"Host": "cftls.likezgq.top"
}
}
},
{
"type": "urltest",
"tag": "SB_LOWEST_DELAY1",
"outbounds": [
"vmess_cfws_likezgq",
"vmess_cfws_tls_likezgq",
"vless_likezgq_dmcf"
],
"url": "http://www.gstatic.com/generate_204",
"interval": "150s",
"tolerance": 30
},
{
"type": "selector",
"tag": "SB_SELECTED",
"outbounds": [
"SB_LOWEST_DELAY1",
"vmess_cfws_tls_likezgq",
"vmess_cfws_likezgq",
"vless_likezgq_dmcf"
]
},
{
"type": "urltest",
"tag": "GPT_LOWEST_DELAY1",
"providers": [
"AirportShandianProTaiwan",
"AirportShandianProSingapore"
],
"url": "https://github.com",
"interval": "150s",
"tolerance": 30
},
{
"type": "selector",
"tag": "GPT_SELECTED",
"outbounds": [
"GPT_LOWEST_DELAY1",
"SB_SELECTED",
"PG_AMERICA"
]
},
{
"type": "selector",
"tag": "GOOGLE_SELECTED",
"outbounds": [
"GPT_LOWEST_DELAY1",
"SB_SELECTED",
"PG_AMERICA"
]
},
{
"type": "selector",
"tag": "REDDIT_SELECTED",
"outbounds": [
"PROXY",
"SB_SELECTED",
"PG_JAPAN",
"PG_AMERICA",
"PG_TAIWAN"
]
},
{
"type": "selector",
"tag": "YOUTUBE_SELECTED",
"outbounds": [
"LOWEST_DELAY1",
"SB_LOWEST_DELAY1",
"SB_SELECTED"
]
},
{
"type": "urltest",
"tag": "LOWEST_DELAY1",
"providers": [
"AirportShandianProHongkong"
],
"url": "http://www.gstatic.com/generate_204",
"interval": "150s",
"tolerance": 50
},
{
"type": "urltest",
"tag": "PROXY_DELAY",
"outbounds": [
"LOWEST_DELAY1",
"SB_SELECTED"
],
"url": "http://www.gstatic.com/generate_204",
"interval": "150s"
},
{
"type": "selector",
"tag": "PROXY",
"outbounds": [
"PROXY_DELAY",
"LOWEST_DELAY1",
"GPT_SELECTED",
"SB_SELECTED"
]
},
{
"type": "urltest",
"tag": "PG_AMERICA",
"outbounds": [
"SB_SELECTED"
],
"providers": [
"AirportShandianProAmerica"
],
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
},
{
"type": "urltest",
"tag": "PG_JAPAN_DELAY",
"providers": [
"AirportShandianProJapan"
],
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
},
{
"type": "selector",
"tag": "PG_JAPAN",
"outbounds": [
"PG_JAPAN_DELAY",
"SB_SELECTED"
]
},
{
"type": "urltest",
"tag": "PG_TAIWAN",
"providers": [
"AirportShandianProTaiwan"
],
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
},
{
"type": "urltest",
"tag": "PG_SINGAPORE",
"providers": [
"AirportShandianProSingapore"
],
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
},
{
"type": "direct",
"tag": "DIRECT"
},
{
"type": "block",
"tag": "REJECT"
},
{
"type": "dns",
"tag": "dns-out"
}
],
"outbound_providers": [
{
"tag": "AirportShandianProAll",
"type": "remote",
"url": "https://hproxy.likezgq.top/api/convert?url=https://times1732002366.subxiandan.top:9604/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c",
"path": "./providers/AirportShandianProAll.json",
"download_interval": "1800s",
"health_check": {
"enabled": true,
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
}
},
{
"tag": "AirportShandianProHongkong",
"type": "remote",
"url": "https://hproxy.likezgq.top/api/convert?url=https://times1732002366.subxiandan.top:9604/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c",
"path": "./providers/AirportShandianProHongkong.json",
"download_interval": "1800s",
"include_name": "香港",
"health_check": {
"enabled": true,
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
}
},
{
"tag": "AirportShandianProAmerica",
"type": "remote",
"url": "https://hproxy.likezgq.top/api/convert?url=https://times1732002366.subxiandan.top:9604/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c",
"path": "./providers/AirportShandianProAmerica.json",
"download_interval": "1800s",
"include_name": "美国",
"health_check": {
"enabled": true,
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
}
},
{
"tag": "AirportShandianProJapan",
"type": "remote",
"url": "https://hproxy.likezgq.top/api/convert?url=https://times1732002366.subxiandan.top:9604/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c",
"path": "./providers/AirportShandianProJapan.json",
"download_interval": "1800s",
"include_name": "日本",
"health_check": {
"enabled": true,
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
}
},
{
"tag": "AirportShandianProTaiwan",
"type": "remote",
"url": "https://hproxy.likezgq.top/api/convert?url=https://b88c32b7-e6db-4dc8-b44f-a13e5160f674.shandiannginx.com/api/v1/client/subscribe?token=a629ecf09cd5408c12610a8171085d7c",
"path": "./providers/AirportShandianProTaiwan.json",
"download_interval": "1800s",
"include_name": "台湾",
"health_check": {
"enabled": true,
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
}
},
{
"tag": "AirportShandianProSingapore",
"type": "remote",
"url": "https://hproxy.likezgq.top/api/convert?url=https://times1732002366.subxiandan.top:9604/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c",
"path": "./providers/AirportShandianProSingapore.json",
"download_interval": "1800s",
"include_name": "新加坡",
"health_check": {
"enabled": true,
"url": "http://www.gstatic.com/generate_204",
"interval": "300s"
}
}
],
"route": {
"rules": [
{
"protocol": "dns",
"outbound": "dns-out"
},
{
"clash_mode": "Direct",
"outbound": "DIRECT"
},
{
"clash_mode": "Global",
"outbound": "PROXY"
},
{
"domain_suffix": ["anthropic.com"],
"outbound": "PG_AMERICA"
},
{
"domain": ["huggingface.co"],
"outbound": "SB_SELECTED"
},
{
"domain_suffix": [
"openai.com",
"chatgpt.com",
"claude.ai",
"servd-anthropic-website.b-cdn.net",
"intercomcdn.com",
"cdn.usefathom.com",
"stripe.com"
],
"outbound": "GPT_SELECTED"
},
{
"domain_keyword": ["openai", "chatgpt", "claude", "sora", "grok", "aistudio"],
"outbound": "GPT_SELECTED"
},
{
"domain_keyword": ["gemini"],
"outbound": "GOOGLE_SELECTED"
},
{
"domain_keyword": ["youtube"],
"outbound": "YOUTUBE_SELECTED"
},
{
"domain": ["bard.google.com", "one.google.com"],
"outbound": "PG_AMERICA"
},
{
"domain_keyword": ["discord", "us-api", "paypal", "paypa1"],
"outbound": "PG_AMERICA"
},
{
"domain_keyword": ["reddit"],
"outbound": "REDDIT_SELECTED"
},
{
"domain_keyword": ["avgle", "porn", "xvideo", "xhamster"],
"outbound": "PG_JAPAN"
},
{
"domain_suffix": [
"ycombinator.com",
"distrowatch.com",
"pypi.org",
"pythonhosted.org",
"nvidia.com",
"tailscale.com"
],
"outbound": "PROXY"
},
{
"ip_cidr": ["149.154.160.0/20", "91.108.4.0/22"],
"outbound": "PROXY"
},
{
"domain": ["time.windows.com", "clash.razord.top", "yacd.haishan.me"],
"outbound": "DIRECT"
},
{
"domain_suffix": [
"likezgq.pub",
"home.pub",
"kgithub.com",
"lan"
],
"outbound": "DIRECT"
},
{
"domain_keyword": ["ra2web.com", "bun.sh.cn", "chronodivide.com"],
"outbound": "DIRECT"
},
{
"ip_cidr": [
"104.27.80.65/32",
"104.16.29.191/32",
"141.101.115.236/32",
"172.64.93.84/32",
"142.171.94.73/32",
"100.64.0.0/10"
],
"outbound": "DIRECT"
},
{
"process_name": [
"Tailscale.exe",
"Tailscale Service.exe",
"tailscaled.exe",
"tailscale-ipn.exe",
"tailscaled",
"Tailscale"
],
"outbound": "DIRECT"
},
{
"ip_is_private": true,
"outbound": "DIRECT"
},
{
"geosite": "category-ads-all",
"outbound": "REJECT"
},
{
"geosite": "icloud",
"outbound": "DIRECT"
},
{
"geosite": "apple",
"outbound": "DIRECT"
},
{
"geosite": "google",
"outbound": "DIRECT"
},
{
"geosite": "cn",
"outbound": "DIRECT"
},
{
"geoip": "cn",
"outbound": "DIRECT"
},
{
"port": 22,
"outbound": "SB_SELECTED"
}
],
"auto_detect_interface": true,
"final": "GPT_SELECTED"
},
"experimental": {
"clash_api": {
"external_controller": "127.0.0.1:9090",
"secret": ""
},
"cache_file": {
"enabled": true,
"path": "cache.db"
}
}
}