//DustinWin-ruleset去广告规则 { "outbounds": [ { "tag": "🚀 节点选择", "type": "selector", "outbounds": [ "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇯🇵 日本节点", "🇰🇷 韩国节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点", {providers_tags}, "🚀 手动切换" ] }, { "tag": "🐟 漏网之鱼", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 本机直连" ] }, { "tag": "🛑 广告拦截", "type": "selector", "outbounds": [ "❌ 禁止连接", "🎯 本机直连" ] }, { "tag": "🔗 直连域名", "type": "selector", "outbounds": [ "🎯 本机直连", "🚀 节点选择" ] }, { "tag": "🪜 代理域名", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 本机直连" ] }, { "tag": "🎮 游戏平台", "type": "selector", "outbounds": [ "🎯 本机直连", "🚀 节点选择" ] }, { "tag": "Ⓜ️ 微软服务", "type": "selector", "outbounds": [ "🎯 本机直连", "🚀 节点选择" ] }, { "tag": "📢 谷歌服务", "type": "selector", "outbounds": [ "🎯 本机直连", "🚀 节点选择" ] }, { "tag": "🍎 苹果服务", "type": "selector", "outbounds": [ "🎯 本机直连", "🚀 节点选择" ] }, { "tag": "🇨🇳 国内 IP", "type": "selector", "outbounds": [ "🎯 本机直连", "🚀 节点选择" ] }, { "tag": "📲 电报消息", "type": "selector", "outbounds": [ "🚀 节点选择", "🚀 节点选择" ] }, { "tag": "🔒 私有网络", "type": "selector", "outbounds": [ "🎯 本机直连", "🚀 节点选择" ] }, { "tag": "📈 网络测试", "type": "selector", "outbounds": [ "🎯 本机直连", "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇯🇵 日本节点", "🇰🇷 韩国节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点", {providers_tags}, "🚀 手动切换" ] }, { "tag": "GLOBAL", "type": "selector", "outbounds": [ "🎯 本机直连", "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇯🇵 日本节点", "🇰🇷 韩国节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点", {providers_tags}, "🚀 手动切换" ] }, { "tag": "🚀 手动切换", "type": "selector", "providers": [ {providers_tags} ], "includes": [ ".*" ] }, { "tag": "🇭🇰 香港节点", "type": "urltest", "tolerance": 100, "providers": [ {providers_tags} ], "includes": [ "港|HK|Hong Kong" ] }, { "tag": "🇹🇼 台湾节点", "type": "urltest", "tolerance": 100, "providers": [ {providers_tags} ], "includes": [ "台|新北|彰化|TW|Taiwan" ] }, { "tag": "🇯🇵 日本节点", "type": "urltest", "tolerance": 100, "providers": [ {providers_tags} ], "includes": [ "日本|川日|东京|大阪|泉日|埼玉|沪日|深日|[^-]日|JP|Japan" ] }, { "tag": "🇰🇷 韩国节点", "type": "urltest", "tolerance": 100, "providers": [ {providers_tags} ], "includes": [ "KR|Korea|KOR|首尔|韩|韓" ] }, { "tag": "🇸🇬 新加坡节点", "type": "urltest", "tolerance": 100, "providers": [ {providers_tags} ], "includes": [ "新加坡|坡|狮城|SG|Singapore" ] }, { "tag": "🇺🇸 美国节点", "type": "urltest", "tolerance": 100, "providers": [ {providers_tags} ], "includes": [ "美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States" ] }, { "tag": "🎯 本机直连", "type": "direct" }, { "tag": "❌ 禁止连接", "type": "block" }, { "tag": "dns-out", "type": "dns" } ], "route": { "rules": [ { "protocol": "dns" , "outbound": "dns-out" }, { "clash_mode": "Global", "outbound": "GLOBAL" }, { "clash_mode": "Direct", "outbound": "🎯 本机直连" }, { "rule_set": "private", "outbound": "🔒 私有网络" }, { "rule_set": "ads", "outbound": "🛑 广告拦截" }, { "rule_set": "microsoft-cn", "outbound": "Ⓜ️ 微软服务" }, { "rule_set": "apple-cn", "outbound": "🍎 苹果服务" }, { "rule_set": "google-cn", "outbound": "📢 谷歌服务" }, { "rule_set": "games-cn", "outbound": "🎮 游戏平台" }, { "rule_set": "networktest", "outbound": "📈 网络测试" }, { "rule_set": "proxy", "outbound": "🪜 代理域名" }, { "rule_set": "cn", "outbound": "🔗 直连域名" }, { "rule_set": "telegramip", "outbound": "📲 电报消息" }, { "rule_set": "privateip", "outbound": "🔒 私有网络" }, { "rule_set": "cnip", "outbound": "🇨🇳 国内 IP" } ], "rule_set": [ { "tag": "private", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/private.srs", "download_detour": "🎯 本机直连" }, { "tag": "ads", "type": "remote", "format": "binary", "url": "https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box/ads.srs", "download_detour": "DIRECT" }, { "tag": "microsoft-cn", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/microsoft-cn.srs", "download_detour": "🎯 本机直连" }, { "tag": "apple-cn", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/apple-cn.srs", "download_detour": "🎯 本机直连" }, { "tag": "google-cn", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/google-cn.srs", "download_detour": "🎯 本机直连" }, { "tag": "games-cn", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/games-cn.srs", "download_detour": "🎯 本机直连" }, { "tag": "networktest", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/networktest.srs", "download_detour": "🎯 本机直连" }, { "tag": "proxy", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/proxy.srs", "download_detour": "🎯 本机直连" }, { "tag": "cn", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/cn.srs", "download_detour": "🎯 本机直连" }, { "tag": "telegramip", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/telegramip.srs", "download_detour": "🎯 本机直连" }, { "tag": "privateip", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/privateip.srs", "download_detour": "🎯 本机直连" }, { "tag": "cnip", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/DustinWin/ruleset_geodata/sing-box/cnip.srs", "download_detour": "🎯 本机直连" } ], "final": "🐟 漏网之鱼" } }