360 lines
18 KiB
JSON
360 lines
18 KiB
JSON
//DustinWin-ruleset轻量规则
|
|
{
|
|
"outbounds": [
|
|
//{ "tag": "🎈 自动选择", "type": "urltest", "tolerance": 100, "use_all_providers": true },
|
|
{ "tag": "🚀 节点选择", "type": "selector", "use_all_providers": true },
|
|
{ "tag": "🎃 YOUTUBE", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🌈 NETFLIX", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🎪 DisneyPlus", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🔶 国际亚马逊", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "👑 HBO", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🐬 OneDrive", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "👨🏿💻 GitHub", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🤖 ChatGPT", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "💧 Copilot", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "📲 电报消息", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🍟 美国", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🍎 AppleTV", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "📞 WIFICALL", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "💳 Paypal", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🛍️ eBay", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🎧 Spotify", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🎵 TikTok", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🍎 苹果服务", "type": "selector", "use_all_providers": true, "outbounds": [ "🎯 全球直连","🚀 节点选择" ] },
|
|
{ "tag": "🪟 Microsoft", "type": "selector", "use_all_providers": true, "outbounds": [ "🎯 全球直连","🚀 节点选择" ] },
|
|
{ "tag": "🔶 中国亚马逊", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "📺 爱奇艺", "type": "selector", "use_all_providers": true, "outbounds": [ "🎯 全球直连","🚀 节点选择" ] },
|
|
{ "tag": "📺 哔哩哔哩", "type": "selector", "use_all_providers": true, "outbounds": [ "🎯 全球直连","🚀 节点选择" ] },
|
|
{ "tag": "❌ 禁止广告", "type": "selector", "outbounds": [ "🛑 全球拦截", "🎯 全球直连" ] },
|
|
{ "tag": "🐟 漏网之鱼", "type": "selector", "use_all_providers": true, "outbounds": [ "🚀 节点选择" ] },
|
|
{ "tag": "🎯 全球直连", "type": "direct" },
|
|
{ "tag": "🔒 私有网络", "type": "direct" },
|
|
{ "tag": "🛑 全球拦截", "type": "block" },
|
|
{ "tag": "GLOBAL", "type": "selector", "use_all_providers": true },
|
|
{ "tag": "🇭🇰 香港节点", "type": "selector", "use_all_providers": true, "includes": [ "港|HK|Hong Kong" ] },
|
|
{ "tag": "🇯🇵 日本节点", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan" ] },
|
|
{ "tag": "🇰🇷 韩国节点", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "KR|Korea|KOR|首尔|韩|韓" ] },
|
|
{ "tag": "🇸🇬 新加坡节点", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "新加坡|坡|狮城|SG|Singapore" ] },
|
|
{ "tag": "🇺🇸 美国节点", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States" ] },
|
|
//{ "tag": "🇹🇼 台湾节点", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "台|新北|彰化|TW|Taiwan" ] },
|
|
//{ "tag": "📺 省流节点", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "0.[1-5]|低倍率|省流|大流量" ] },
|
|
//{ "tag": "👍 高级节点", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "专线|专用|高级|直连|急速|高倍率|游戏|game|Game|GAME|IEPL|IPLC|AIA|CTM|CC|iepl|iplc|aia|ctm|cc|AC" ] },
|
|
{ "tag": "dns-out", "type": "dns" }
|
|
],
|
|
"route": {
|
|
"rules": [
|
|
{ "rule_set": "🎃 youtube", "outbound": "🎃 YOUTUBE" },
|
|
{ "rule_set": "🌈 geoip-netflix", "outbound": "🌈 NETFLIX" },
|
|
{ "rule_set": "🌈 netflix", "outbound": "🌈 NETFLIX" },
|
|
{ "rule_set": "🎪 disneyplus", "outbound": "🎪 DisneyPlus" },
|
|
{ "rule_set": "🔶 amazon@int", "outbound": "🔶 国际亚马逊" },
|
|
{ "rule_set": "👑 hbo", "outbound": "👑 HBO" },
|
|
{ "rule_set": "🐬 onedrive", "outbound": "🐬 OneDrive" },
|
|
{ "rule_set": "👨🏿💻 github", "outbound": "👨🏿💻 GitHub" },
|
|
{ "rule_set": "🤖 openai-DustinWin", "outbound": "🤖 ChatGPT" },
|
|
{ "rule_set": "🤖 openai-Toperlock", "outbound": "🤖 ChatGPT" },
|
|
{ "rule_set": "🤖 geoip-ai", "outbound": "🤖 ChatGPT" },
|
|
{ "rule_set": "🤖 openai", "outbound": "🤖 ChatGPT" },
|
|
{ "rule_set": "💧 copilot", "outbound": "💧 Copilot" },
|
|
{ "rule_set": "📲 telegram", "outbound": "📲 电报消息" },
|
|
{ "rule_set": "📲 geoip-telegram", "outbound": "📲 电报消息" },
|
|
{ "rule_set": "🍟 美国", "outbound": "🍟 美国" },
|
|
{ "rule_set": "🍎 appletv", "outbound": "🍎 AppleTV" },
|
|
{ "rule_set": "📞 WIFICALL", "outbound": "📞 WIFICALL" },
|
|
{ "rule_set": "💳 paypal", "outbound": "💳 Paypal" },
|
|
{ "rule_set": "🛍️ ebay", "outbound": "🛍️ eBay" },
|
|
{ "rule_set": "🎧 spotify", "outbound": "🎧 Spotify" },
|
|
{ "rule_set": "🎵 tiktok", "outbound": "🎵 TikTok" },
|
|
{ "rule_set": "🍎 apple@cn", "outbound": "🍎 苹果服务" },
|
|
{ "rule_set": "🪟 microsoft@cn", "outbound": "🪟 Microsoft" },
|
|
{ "rule_set": "🔶 amazon@int", "outbound": "🔶 中国亚马逊" },
|
|
{ "rule_set": "📺 iqiyi", "outbound": "📺 爱奇艺" },
|
|
{ "rule_set": "📺 bilibili", "outbound": "📺 哔哩哔哩" },
|
|
{ "rule_set": "🔒 private", "outbound": "🔒 私有网络" },
|
|
{ "rule_set": "🔒 geoip-privateip", "outbound": "🔒 私有网络" },
|
|
{ "protocol": "dns" , "outbound": "dns-out" },
|
|
{ "clash_mode": "Global", "outbound": "GLOBAL" },
|
|
{ "clash_mode": "Direct", "outbound": "🎯 全球直连" },
|
|
{ "rule_set": "GEOIP-CN", "outbound": "🎯 全球直连" },
|
|
{ "rule_set": "geosite-cn", "outbound": "🎯 全球直连" },
|
|
{ "rule_set": "CATEGORY-ADS", "outbound": "❌ 禁止广告" },
|
|
{ "rule_set": "GEOLOCATION-!CN", "outbound": "🚀 节点选择"}
|
|
],
|
|
"rule_set": [
|
|
{
|
|
"tag": "🎃 youtube",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/geosite_youtube.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/youtube.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🌈 geoip-netflix",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/geoip-netflix.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/netflix.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🌈 netflix",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/netflix.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/netflix.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🎪 disneyplus",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/disneyplus.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/disney.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🔶 amazon@int",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/amazon.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/amazon@int.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "👑 hbo",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/hbo.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/max.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🐬 onedrive",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/onedrive.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/onedrive.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "👨🏿💻 github",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/github.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/github.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🤖 openai-DustinWin",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/openai-DustinWin.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/ai.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🤖 openai-Toperlock",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/openai-Toperlock.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/Toperlock/sing-box-geosite/main/rule/OpenAI.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🤖 geoip-ai",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/geoip-ai.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/ai.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🤖 openai",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/openai.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/openai.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "💧 copilot",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/copilot.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/bing.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "📲 telegram",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/telegram.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/telegram.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "📲 geoip-telegram",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/geoip-telegram.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/telegram.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🍟 美国",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/us.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/us.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🍎 appletv",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/appletv.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/appletv.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "📞 WIFICALL",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/WIFICALL.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/wificall.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "💳 paypal",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/paypal.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/paypal.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🛍️ ebay",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/ebay.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/ebay.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🎧 spotify",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/spotify.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/spotify.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🎵 tiktok",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/tiktok.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/tiktok.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🍎 apple@cn",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/apple@cn.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/apple@cn.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🪟 microsoft@cn",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/ microsoft@cn.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/microsoft@cn.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🔶 amazon@cn",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/amazon@cn.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/amazon@cn.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "📺 iqiyi",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/iqiyi.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/iqiyi.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "📺 bilibili",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/bilibili.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/bilibili.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🔒 private",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/private.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/private.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "🔒 geoip-privateip",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/geoip-privateip.json",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/privateip.json",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "GEOIP-CN",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/geoip-cn.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "geosite-cn",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/geosite-cn.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/cn.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "CATEGORY-ADS",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/category-ads-all.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-ads-all.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "GEOLOCATION-!CN",
|
|
"type": "remote",
|
|
"format": "binary",
|
|
"path": "./ruleset/geolocation-!cn.srs",
|
|
"url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/geolocation-!cn.srs",
|
|
"download_detour": "🎯 全球直连"
|
|
},
|
|
{
|
|
"tag": "fakeip-filter",
|
|
"type": "remote",
|
|
"format": "source",
|
|
"path": "./ruleset/fakeip-filter.json",
|
|
"url": "https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box-ruleset/fakeip-filter.json"
|
|
}
|
|
],
|
|
"final": "🐟 漏网之鱼"
|
|
}
|
|
}
|
|
//"fakeip": { "enabled": true, "inet4_range": "198.18.0.0/16", "inet6_range": "fc00::/16", "exclude_rule": { "rule_set": [ "fakeip-filter", "private" ] }
|
|
// 搭载 mihomo 内核或 sing-box PuerNya 版内核时,可使该规则集内的域名走 realip |