设置 -> 路由设置 -> 高级功能 -> 添加规则集 -> 导入规则
自定义配置:
[
{
"inboundTag": [],
"outboundTag": "proxy",
"ip": [
"geoip:telegram"
],
"domain": [
"#以下三行是GitHub网站,为了不影响下载速度走代理",
"github.com",
"githubassets.com",
"githubusercontent.com"
]
},
{
"outboundTag": "block",
"domain": [
"#阻止CrxMouse鼠标手势收集上网数据",
"mousegesturesapi.com"
]
},
{
"outboundTag": "direct",
"domain": [
"bitwarden.com",
"bitwarden.net",
"baiyunju.cc",
"letsencrypt.org",
"adblockplus.org",
"safesugar.net",
"#下两行谷歌广告",
"googleads.g.doubleclick.net",
"adservice.google.com",
"#【以下全部是geo预定义域名列表】",
"#下一行是所有私有域名",
"geosite:private",
"#下一行包含常见大陆站点域名和CNNIC管理的大陆域名,即geolocation-cn和tld-cn的合集",
"geosite:cn",
"#下一行包含所有Adobe旗下域名",
"geosite:adobe",
"#下一行包含所有Adobe正版激活域名",
"geosite:adobe-activation",
"#下一行包含所有微软旗下域名",
"geosite:microsoft",
"#下一行包含微软msn相关域名少数与上一行微软列表重复",
"geosite:msn",
"#下一行包含所有苹果旗下域名",
"geosite:apple",
"#下一行包含所有广告平台、提供商域名",
"geosite:category-ads-all",
"#下一行包含可直连访问谷歌网址,需要替换为加强版GEO文件,如已手动更新为加强版GEO文件,删除此行前面的#号使其生效",
"#geosite:google-cn",
"#下一行包含可直连访问苹果网址,需要替换为加强版GEO文件,如已手动更新为加强版GEO文件,删除此行前面的#号使其生效",
"#geosite:apple-cn"
]
},
{
"type": "field",
"outboundTag": "proxy",
"domain": [
"#GFW域名列表",
"geosite:gfw",
"geosite:greatfire"
]
},
{
"type": "field",
"port": "0-65535",
"outboundTag": "direct"
}
]
默认配置:
[
{
"outboundTag": "direct",
"protocol": [
"bittorrent"
],
"enabled": true
},
{
"outboundTag": "block",
"domain": [
"geosite:category-ads-all"
],
"enabled": true
},
{
"outboundTag": "proxy",
"ip": [
"geoip:telegram"
],
"domain": [
"geosite:gfw",
"geosite:greatfire",
"geosite:tld-!cn"
],
"enabled": true
},
{
"port": "0-65535",
"outboundTag": "direct",
"enabled": true
}
]