Files
ssr/singbox.json
2026-04-10 02:41:28 +00:00

895 lines
22 KiB
JSON

{
"dns": {
"servers": [
{
"tag": "google",
"type": "https",
"server": "8.8.8.8",
"detour": "proxy"
},
{
"tag": "ali",
"type": "https",
"server": "223.5.5.5"
},
{
"tag": "fakeip",
"type": "fakeip",
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
}
],
"rules": [
{
"clash_mode": "Direct",
"action": "route",
"server": "ali"
},
{
"clash_mode": "Global",
"action": "route",
"server": "fakeip"
},
{
"query_type": "HTTPS",
"action": "reject"
},
{
"query_type": [
"A",
"AAAA"
],
"action": "route",
"server": "fakeip",
"rewrite_ttl": 1
},
{
"rule_set": "cn_domain",
"action": "route",
"server": "ali"
}
],
"final": "google",
"independent_cache": true
},
"route": {
"default_domain_resolver": {
"server": "ali"
},
"rules": [
{
"action": "sniff",
"sniffer": [
"http",
"tls",
"quic",
"dns"
],
"timeout": "500ms"
},
{
"type": "logical",
"mode": "or",
"rules": [
{
"port": 53
},
{
"protocol": "dns"
}
],
"action": "hijack-dns"
},
{
"ip_is_private": true,
"action": "route",
"outbound": "direct"
},
{
"clash_mode": "Global",
"action": "route",
"outbound": "GLOBAL"
},
{
"clash_mode": "Direct",
"action": "route",
"outbound": "direct"
},
{
"rule_set": "bilibili_domain",
"action": "route",
"outbound": "bilibili"
},
{
"rule_set": [
"netflix_ip",
"netflix_domain"
],
"action": "route",
"outbound": "netflix"
},
{
"rule_set": "bahamut_domain",
"action": "route",
"outbound": "bahamut"
},
{
"rule_set": "youtube_domain",
"action": "route",
"outbound": "youtube"
},
{
"rule_set": "openai_domain",
"action": "route",
"outbound": "openai"
},
{
"type": "logical",
"mode": "and",
"rules": [
{
"rule_set": "proxy_domain"
},
{
"invert": true,
"rule_set": [
"cn_domain",
"apple_domain",
"google_domain",
"telegram_domain",
"netflix_domain"
]
}
],
"action": "route",
"outbound": "proxy"
},
{
"action": "resolve"
},
{
"rule_set": [
"telegram_ip",
"telegram_domain"
],
"action": "route",
"outbound": "telegram"
},
{
"rule_set": [
"google_ip",
"google_domain"
],
"action": "route",
"outbound": "google"
},
{
"rule_set": [
"apple_ip",
"apple_domain"
],
"action": "route",
"outbound": "apple"
},
{
"rule_set": [
"cn_ip",
"cn_domain"
],
"action": "route",
"outbound": "cn"
}
],
"rule_set": [
{
"tag": "apple_ip",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geoip/apple.srs",
"download_detour": "direct"
},
{
"tag": "apple_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/apple.srs",
"download_detour": "direct"
},
{
"tag": "bahamut_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/bahamut.srs",
"download_detour": "direct"
},
{
"tag": "bilibili_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/bilibili.srs",
"download_detour": "direct"
},
{
"tag": "cn_ip",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geoip/cn.srs",
"download_detour": "direct"
},
{
"tag": "cn_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/cn.srs",
"download_detour": "direct"
},
{
"tag": "google_ip",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geoip/google.srs",
"download_detour": "direct"
},
{
"tag": "google_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/google.srs",
"download_detour": "direct"
},
{
"tag": "netflix_ip",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geoip/netflix.srs",
"download_detour": "direct"
},
{
"tag": "netflix_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/netflix.srs",
"download_detour": "direct"
},
{
"tag": "openai_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/openai.srs",
"download_detour": "direct"
},
{
"tag": "proxy_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/geolocation-!cn.srs",
"download_detour": "direct"
},
{
"tag": "telegram_ip",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geoip/telegram.srs",
"download_detour": "direct"
},
{
"tag": "telegram_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/telegram.srs",
"download_detour": "direct"
},
{
"tag": "youtube_domain",
"type": "remote",
"format": "binary",
"url": "https://ghfast.top/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo-lite/geosite/youtube.srs",
"download_detour": "direct"
}
],
"final": "final",
"auto_detect_interface": true
},
"outbounds": [
{
"tag": "proxy",
"type": "selector",
"outbounds": [
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto",
"direct"
],
"default": "all-auto"
},
{
"tag": "google",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "proxy"
},
{
"tag": "apple",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "direct"
},
{
"tag": "telegram",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "proxy"
},
{
"tag": "bilibili",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "direct"
},
{
"tag": "netflix",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "proxy"
},
{
"tag": "bahamut",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "proxy"
},
{
"tag": "youtube",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "proxy"
},
{
"tag": "openai",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "proxy"
},
{
"tag": "cn",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "direct"
},
{
"tag": "final",
"type": "selector",
"outbounds": [
"proxy",
"direct",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "proxy"
},
{
"tag": "hk",
"type": "selector",
"outbounds": [
"COMPATIBLE"
]
},
{
"tag": "tw",
"type": "selector",
"outbounds": [
"COMPATIBLE"
]
},
{
"tag": "jp",
"type": "selector",
"outbounds": [
"🇯🇵 机场推荐:dafei.de 日本 01",
"🇯🇵 机场推荐:dafei.de 日本 02",
"🇯🇵 机场推荐:dafei.de 日本 03",
"🇯🇵 机场推荐:dafei.de 日本 04",
"🇯🇵 机场推荐:dafei.de 日本 05"
]
},
{
"tag": "sg",
"type": "selector",
"outbounds": [
"🇸🇬 机场推荐:dafei.de 新加坡 01",
"🇸🇬 机场推荐:dafei.de 新加坡 02",
"🇸🇬 机场推荐:dafei.de 新加坡 03",
"🇸🇬 机场推荐:dafei.de 新加坡 04"
]
},
{
"tag": "us",
"type": "selector",
"outbounds": [
"🇺🇸 机场推荐:dafei.de 美国 01",
"🇺🇸 机场推荐:dafei.de 美国 02",
"🇺🇸 机场推荐:dafei.de 美国 03"
]
},
{
"tag": "all",
"type": "selector",
"outbounds": [
"🇯🇵 机场推荐:dafei.de 日本 01",
"🇯🇵 机场推荐:dafei.de 日本 02",
"🇯🇵 机场推荐:dafei.de 日本 03",
"🇯🇵 机场推荐:dafei.de 日本 04",
"🇯🇵 机场推荐:dafei.de 日本 05",
"🇸🇬 机场推荐:dafei.de 新加坡 01",
"🇸🇬 机场推荐:dafei.de 新加坡 02",
"🇸🇬 机场推荐:dafei.de 新加坡 03",
"🇸🇬 机场推荐:dafei.de 新加坡 04",
"🇺🇸 机场推荐:dafei.de 美国 01",
"🇺🇸 机场推荐:dafei.de 美国 02",
"🇺🇸 机场推荐:dafei.de 美国 03",
"🇷🇴 机场推荐:dafei.de 罗马尼亚 01"
]
},
{
"tag": "hk-auto",
"type": "urltest",
"outbounds": [
"COMPATIBLE"
],
"url": "https://www.gstatic.com/generate_204",
"interval": "1m",
"tolerance": 50
},
{
"tag": "tw-auto",
"type": "urltest",
"outbounds": [
"COMPATIBLE"
],
"url": "https://www.gstatic.com/generate_204",
"interval": "1m",
"tolerance": 50
},
{
"tag": "jp-auto",
"type": "urltest",
"outbounds": [
"🇯🇵 机场推荐:dafei.de 日本 01",
"🇯🇵 机场推荐:dafei.de 日本 02",
"🇯🇵 机场推荐:dafei.de 日本 03",
"🇯🇵 机场推荐:dafei.de 日本 04",
"🇯🇵 机场推荐:dafei.de 日本 05"
],
"url": "https://www.gstatic.com/generate_204",
"interval": "1m",
"tolerance": 50
},
{
"tag": "sg-auto",
"type": "urltest",
"outbounds": [
"🇸🇬 机场推荐:dafei.de 新加坡 01",
"🇸🇬 机场推荐:dafei.de 新加坡 02",
"🇸🇬 机场推荐:dafei.de 新加坡 03",
"🇸🇬 机场推荐:dafei.de 新加坡 04"
],
"url": "https://www.gstatic.com/generate_204",
"interval": "1m",
"tolerance": 50
},
{
"tag": "us-auto",
"type": "urltest",
"outbounds": [
"🇺🇸 机场推荐:dafei.de 美国 01",
"🇺🇸 机场推荐:dafei.de 美国 02",
"🇺🇸 机场推荐:dafei.de 美国 03"
],
"url": "https://www.gstatic.com/generate_204",
"interval": "1m",
"tolerance": 50
},
{
"tag": "all-auto",
"type": "urltest",
"outbounds": [
"🇯🇵 机场推荐:dafei.de 日本 01",
"🇯🇵 机场推荐:dafei.de 日本 02",
"🇯🇵 机场推荐:dafei.de 日本 03",
"🇯🇵 机场推荐:dafei.de 日本 04",
"🇯🇵 机场推荐:dafei.de 日本 05",
"🇸🇬 机场推荐:dafei.de 新加坡 01",
"🇸🇬 机场推荐:dafei.de 新加坡 02",
"🇸🇬 机场推荐:dafei.de 新加坡 03",
"🇸🇬 机场推荐:dafei.de 新加坡 04",
"🇺🇸 机场推荐:dafei.de 美国 01",
"🇺🇸 机场推荐:dafei.de 美国 02",
"🇺🇸 机场推荐:dafei.de 美国 03",
"🇷🇴 机场推荐:dafei.de 罗马尼亚 01"
],
"url": "https://www.gstatic.com/generate_204",
"interval": "1m",
"tolerance": 50
},
{
"tag": "GLOBAL",
"type": "selector",
"outbounds": [
"direct",
"proxy",
"hk",
"hk-auto",
"tw",
"tw-auto",
"jp",
"jp-auto",
"sg",
"sg-auto",
"us",
"us-auto",
"all",
"all-auto"
],
"default": "direct"
},
{
"tag": "direct",
"type": "direct"
},
{
"tag": "COMPATIBLE",
"type": "direct"
},
{
"tag": "🇯🇵 机场推荐:dafei.de 日本 01",
"type": "shadowsocks",
"server": "sub.danfeng.eu.org",
"server_port": 443,
"method": "none",
"password": "79960b0b-7d31-4263-8915-6511b0e137a8",
"plugin": "v2ray-plugin",
"plugin_opts": "mode=websocket;tls;skip-cert-verify=false"
},
{
"tag": "🇯🇵 机场推荐:dafei.de 日本 02",
"type": "hysteria2",
"server": "vpn-jp-013.fastervpn.world",
"server_port": 443,
"password": "qQe1z5kU8kN6SlKnDt9Ru3Qp",
"tls": {
"enabled": true,
"server_name": "vpn-jp-013.fastervpn.world",
"insecure": true
}
},
{
"tag": "🇯🇵 机场推荐:dafei.de 日本 03",
"type": "vmess",
"server": "m.cnmjin.net",
"server_port": 16617,
"uuid": "b688ce0f-9201-4e8e-a67a-f3be2c6aa201",
"security": "auto",
"alter_id": 0,
"transport": {
"type": "ws",
"headers": {
"HOST": "7a297964a2b31dafd3529ef4d14574b9.mobgslb.tbcache.com",
"Host": "m.cnmjin.net"
},
"path": "/"
}
},
{
"tag": "🇯🇵 机场推荐:dafei.de 日本 04",
"type": "hysteria2",
"server": "151.241.130.90",
"server_port": 55000,
"password": "9d9519a0-7df0-42a4-a765-29512ab65f5c",
"tls": {
"enabled": true,
"server_name": "www.bing.com",
"insecure": true
}
},
{
"tag": "🇯🇵 机场推荐:dafei.de 日本 05",
"type": "vmess",
"server": "m.cnmjin.net",
"server_port": 16617,
"uuid": "b688ce0f-9201-4e8e-a67a-f3be2c6aa201",
"security": "auto",
"alter_id": 0,
"transport": {
"type": "ws",
"headers": {
"Host": "m.cnmjin.net"
},
"path": "/"
}
},
{
"tag": "🇸🇬 机场推荐:dafei.de 新加坡 01",
"type": "shadowsocks",
"server": "cdns.doon.eu.org",
"server_port": 443,
"method": "none",
"password": "3e96ef7d-8637-42c2-ac73-75182196e755",
"plugin": "v2ray-plugin",
"plugin_opts": "mode=websocket;tls;skip-cert-verify=false"
},
{
"tag": "🇸🇬 机场推荐:dafei.de 新加坡 02",
"type": "shadowsocks",
"server": "mfa.gov.ua",
"server_port": 443,
"method": "none",
"password": "79960b0b-7d31-4263-8915-6511b0e137a8",
"plugin": "v2ray-plugin",
"plugin_opts": "host=woshinidie-et3.pages.dev;mode=websocket;path=/79960b0b-7d31-4263-8915-6511b0e137a8/?ed=2560;tls"
},
{
"tag": "🇸🇬 机场推荐:dafei.de 新加坡 03",
"type": "shadowsocks",
"server": "cdns.doon.eu.org",
"server_port": 443,
"method": "none",
"password": "79960b0b-7d31-4263-8915-6511b0e137a8",
"plugin": "v2ray-plugin",
"plugin_opts": "mode=websocket;tls;skip-cert-verify=false"
},
{
"tag": "🇸🇬 机场推荐:dafei.de 新加坡 04",
"type": "shadowsocks",
"server": "mfa.gov.ua",
"server_port": 443,
"method": "none",
"password": "79960b0b-7d31-4263-8915-6511b0e137a8",
"plugin": "v2ray-plugin",
"plugin_opts": "mode=websocket;tls;skip-cert-verify=false"
},
{
"tag": "🇺🇸 机场推荐:dafei.de 美国 01",
"type": "shadowsocks",
"server": "store.ubi.com",
"server_port": 443,
"method": "none",
"password": "3e96ef7d-8637-42c2-ac73-75182196e755",
"plugin": "v2ray-plugin",
"plugin_opts": "host=mfvpn.fuchen.indevs.in;mode=websocket;path=/3e96ef7d-8637-42c2-ac73-75182196e755/?ed=2560;skip-cert-verify=true;tls"
},
{
"tag": "🇺🇸 机场推荐:dafei.de 美国 02",
"type": "hysteria2",
"server": "192.166.82.233",
"server_port": 35446,
"password": "25369ab0-d670-4457-88f1-589d9b0a3032",
"tls": {
"enabled": true,
"server_name": "192.166.82.233",
"insecure": true
}
},
{
"tag": "🇺🇸 机场推荐:dafei.de 美国 03",
"type": "shadowsocks",
"server": "store.ubi.com",
"server_port": 443,
"method": "none",
"password": "3e96ef7d-8637-42c2-ac73-75182196e755",
"plugin": "v2ray-plugin",
"plugin_opts": "mode=websocket;tls;skip-cert-verify=false"
},
{
"tag": "🇷🇴 机场推荐:dafei.de 罗马尼亚 01",
"type": "tuic",
"server": "82.117.255.37",
"server_port": 50043,
"uuid": "e033ef6e-ab4b-47d4-a523-ff568d2c8dbb",
"password": "strong-secret-pass-777",
"tls": {
"enabled": true,
"server_name": "82.117.255.37",
"insecure": true,
"alpn": [
"h3"
]
},
"congestion_control": "bbr"
}
],
"inbounds": [
{
"type": "tun",
"address": [
"172.19.0.0/30",
"fdfe:dcba:9876::0/126"
],
"stack": "mixed",
"auto_route": true,
"platform": {
"http_proxy": {
"enabled": true,
"server": "127.0.0.1",
"server_port": 7890
}
}
},
{
"type": "mixed",
"listen": "127.0.0.1",
"listen_port": 7890
}
],
"experimental": {
"clash_api": {
"external_controller": "127.0.0.1:9090",
"external_ui": "ui",
"external_ui_download_url": "https://ghfast.top/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",
"external_ui_download_detour": "direct"
},
"cache_file": {
"enabled": true,
"store_fakeip": true
}
},
"log": {
"disabled": false,
"level": "info",
"timestamp": true
},
"endpoints": []
}