Skip to content

Instantly share code, notes, and snippets.

@Hanssen0
Last active February 12, 2026 19:18
Show Gist options
  • Select an option

  • Save Hanssen0/0e3eef2400e832d0ee98b46f01f4e23b to your computer and use it in GitHub Desktop.

Select an option

Save Hanssen0/0e3eef2400e832d0ee98b46f01f4e23b to your computer and use it in GitHub Desktop.
{
"log": {
"level": "info",
"timestamp": true
},
"experimental": {
"cache_file": {
"enabled": true,
"store_fakeip": true
}
},
"dns": {
"servers": [
{
"type": "tls",
"tag": "dns_proxy",
"server": "8.8.4.4",
"detour": "🚀 海外网站"
},
{
"type": "udp",
"tag": "dns_direct",
"server": "223.5.5.5"
},
{
"type": "local",
"tag": "dns_local"
},
{
"type": "fakeip",
"tag": "dns_fakeip",
"inet4_range": "198.18.0.0/16",
"inet6_range": "fc00::/16"
}
],
"rules": [
{
"domain_suffix": "local",
"server": "dns_local"
},
{
"clash_mode": "Direct",
"server": "dns_direct",
"strategy": "prefer_ipv4"
},
{
"query_type": [
"A",
"AAAA"
],
"clash_mode": "Global",
"server": "dns_fakeip",
"rewrite_ttl": 1
},
{
"clash_mode": "Global",
"server": "dns_proxy"
},
{
"query_type": [
"A",
"AAAA"
],
"server": "dns_fakeip",
"rewrite_ttl": 1
}
],
"final": "dns_proxy",
"strategy": "ipv4_only",
"independent_cache": true,
"reverse_mapping": true
},
"outbounds": [
{
"tag": "✋ 手动切换",
"type": "selector",
"outbounds": [
"{all}",
"Direct",
"🪞 自建节点 - 链式代理"
]
},
{
"tag": "🚀 节点选择",
"type": "selector",
"outbounds": [
"♻️ 自动选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🔗 链式代理 - 前置",
"type": "selector",
"outbounds": [
"♻️ 自动选择",
"Direct",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点",
"{all}"
]
},
{
"tag": "🛑 广告拦截",
"type": "selector",
"outbounds": [
"Block",
"Direct"
]
},
{
"tag": "🎥 YouTube",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🎥 F1 TV",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🎥 NBA",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🤖 海外 AI",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🪙 国内交易所",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🚨 敏感网站",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🎯 全球直连",
"type": "selector",
"outbounds": [
"Direct",
"🚀 节点选择",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🚀 海外网站",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "❤️ 常用端口",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🔐 敏感端口",
"type": "selector",
"outbounds": [
"🚀 节点选择",
"Direct",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🐟 漏网之鱼",
"type": "selector",
"outbounds": [
"Direct",
"🚀 节点选择",
"🪞 自建节点 - 链式代理",
"✋ 手动切换",
"♻️ 自动选择",
"🛏️ 日常使用",
"📺 省流节点",
"👍 高级节点",
"🇭🇰 香港节点",
"🇨🇳 台湾节点",
"🇸🇬 新加坡节点",
"🇯🇵 日本节点",
"🇺🇲 美国节点",
"🇰🇷 韩国节点",
"❓ 其它节点"
]
},
{
"tag": "🛏️ 日常使用",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"0.[0-5]|低倍率|省流|大流量"
]
},
{
"action": "exclude",
"keywords": [
"网站|地址|剩余|过期|时间|有效|Traffic|Expire"
]
},
{
"action": "exclude",
"keywords": [
"🇯🇵|JP|jp|日本|Japan|川日|东京|大阪|泉日|埼玉|沪日|深日"
]
}
]
},
{
"tag": "📺 省流节点",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"0.[0-5]|低倍率|省流|大流量"
]
},
{
"action": "exclude",
"keywords": [
"网站|地址|剩余|过期|时间|有效|Traffic|Expire"
]
}
]
},
{
"tag": "👍 高级节点",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"专线|专用|高级|直连|急速|高倍率|IEPL|IPLC|AIA|CTM|CC|iepl|iplc|aia|ctm|cc|AC"
]
},
{
"action": "exclude",
"keywords": [
"0.[0-5]|低倍率|省流|大流量"
]
}
]
},
{
"tag": "♻️ 自动选择",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "exclude",
"keywords": [
"网站|地址|剩余|过期|时间|有效|Traffic|Expire"
]
}
]
},
{
"tag": "🇭🇰 香港节点",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"🇭🇰|HK|hk|港|HongKong"
]
}
]
},
{
"tag": "🇨🇳 台湾节点",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"🇹🇼|TW|tw|臺灣|台|Taiwan|新北|彰化"
]
}
]
},
{
"tag": "🇸🇬 新加坡节点",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"🇸🇬|SG|sg|坡|狮|Singapore"
]
}
]
},
{
"tag": "🇯🇵 日本节点",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"🇯🇵|JP|jp|日本|Japan|川日|东京|大阪|泉日|埼玉|沪日|深日"
]
}
]
},
{
"tag": "🇺🇲 美国节点",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"🇺🇸|US|us|美国|美|United States|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥"
]
}
]
},
{
"tag": "🇰🇷 韩国节点",
"type": "urltest",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "include",
"keywords": [
"🇰🇷|KR|Korea|KOR|首尔|韩|韓"
]
}
]
},
{
"tag": "❓ 其它节点",
"type": "selector",
"outbounds": [
"{all}"
],
"filter": [
{
"action": "exclude",
"keywords": [
"🇭🇰|HK|hk|港|HongKong|🇹🇼|TW|tw|臺灣|台|Taiwan|新北|彰化|🇸🇬|SG|sg|坡|狮|Singapore|🇯🇵|JP|jp|日本|Japan|川日|东京|大阪|泉日|埼玉|沪日|深日|🇺🇸|US|us|美国|美|United States|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|🇰🇷|KR|Korea|KOR|首尔|韩|韓"
]
},
{
"action": "exclude",
"keywords": [
"网站|地址|剩余|过期|时间|有效|Traffic|Expire"
]
}
]
},
{
"tag": "Direct",
"type": "direct",
"domain_resolver": {
"server": "dns_direct",
"strategy": "prefer_ipv4"
}
},
{
"tag": "Block",
"type": "block"
}
],
"route": {
"final": "🐟 漏网之鱼",
"auto_detect_interface": true,
"default_domain_resolver": {
"server": "dns_direct",
"strategy": "prefer_ipv4"
},
"rules": [
{
"action": "sniff"
},
{
"type": "logical",
"mode": "or",
"rules": [
{
"protocol": "dns"
},
{
"port": 53
}
],
"action": "hijack-dns"
},
{
"ip_is_private": true,
"outbound": "Direct"
},
{
"clash_mode": "Direct",
"outbound": "Direct"
},
{
"clash_mode": "Global",
"outbound": "🚀 海外网站"
},
{
"port": [
22,
110,
143,
465,
587,
993,
995
],
"outbound": "🔐 敏感端口"
},
{
"rule_set": [
"geosite-category-ads-all"
],
"outbound": "🛑 广告拦截"
},
{
"rule_set": [
"geosite-youtube"
],
"outbound": "🎥 YouTube"
},
{
"domain_suffix": [
"formula1.com"
],
"outbound": "🎥 F1 TV"
},
{
"domain_suffix": [
"nba.com"
],
"outbound": "🎥 NBA"
},
{
"rule_set": [
"geosite-category-ai-!cn"
],
"outbound": "🤖 海外 AI"
},
{
"type": "logical",
"mode": "and",
"rules": [
{
"rule_set": [
"geosite-binance",
"geosite-huobi",
"geosite-okx",
"geosite-ibkr",
"geosite-ifast"
]
},
{
"domain": [
"www.okx.com",
"web3.okx.com",
"wallet.okx.com"
],
"invert": true
}
],
"outbound": "🪙 国内交易所"
},
{
"domain_regex": [
"(.*.||)(dafahao|minghui|falunaz|falungong|falundafa|mhradio).(cn|com|org|net|club|net|fr|tw|hk)",
"(.*.||)(12377|12315|chinadigitaltimes|talk.news.pts.org|creaders|zhuichaguoji|efcc.org|cyberpolice|aboluowang|tuidang|epochtimes|zhengjian|110.qq|mingjingnews|inmediahk|xinsheng|bannedbook|ntdtv|12321|secretchina|epochweekly|cn.rfi|rfa|pincong|dongtaiwang|ntdtv|botanwang|jinpianwang|voachinese|voanews|bannedbook|newhighlandvision|ming-jian|a513|fl513|elplural|wujieliulan).(cn|com|org|net|club|net|fr|tw|hk|rocks|today|website|site)"
],
"outbound": "🚨 敏感网站"
},
{
"type": "logical",
"mode": "and",
"rules": [
{
"rule_set": [
"geosite-geolocation-cn",
"geosite-tld-cn",
"geoip-cn",
"geosite-steam",
"geosite-category-ntp",
"geosite-onedrive"
]
},
{
"rule_set": [
"geosite-google@cn"
],
"domain_suffix": [
"steampowered.com",
"steamcommunity.com",
"steamstatic.com",
"steamusercontent.com"
],
"invert": true
}
],
"outbound": "🎯 全球直连"
},
{
"rule_set": [
"geosite-geolocation-!cn",
"geosite-tld-!cn"
],
"outbound": "🚀 海外网站"
},
{
"port": [
80,
443,
4950,
4955,
6699
],
"outbound": "❤️ 常用端口"
}
],
"rule_set": [
{
"tag": "geosite-category-ntp",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-category-ntp.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-geolocation-!cn",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-geolocation-!cn.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-tld-!cn",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-tld-!cn.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-category-ads-all",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-category-ads-all.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-youtube",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-youtube.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-category-ai-!cn",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-category-ai-!cn.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-binance",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-binance.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-huobi",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-huobi.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-okx",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-okx.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-google@cn",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-google@cn.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-geolocation-cn",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-geolocation-cn.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-tld-cn",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-tld-cn.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geoip-cn",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geoip/raw/refs/heads/rule-set/geoip-cn.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-onedrive",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-onedrive.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-steam",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-steam.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-ibkr",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-ibkr.srs",
"download_detour": "🚀 海外网站"
},
{
"tag": "geosite-ifast",
"type": "remote",
"format": "binary",
"url": "https://github.com/SagerNet/sing-geosite/raw/refs/heads/rule-set/geosite-ifast.srs",
"download_detour": "🚀 海外网站"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment