shangguanhongxin / for-sing-box-and-surge

sing-box、surge等的自用规则,自娱自乐,改自blackmatrix7
35 stars 9 forks source link

ios sing-box 怎么设置去广告? #4

Open gamerenzz opened 3 weeks ago

gamerenzz commented 3 weeks ago

网上找了一圈,没找到,怎么加srs这个的,

请问下,ios sing-box怎么设置?

shangguanhongxin commented 3 weeks ago

你是不清楚srs的设置方式么 https://sing-box.sagernet.org/zh/configuration/rule-set/#structure 官方文档看一下 最终效果示例:

"route": { "auto_detect_interface": true, "final": "proxy", "rules": [ { "protocol": "dns", "outbound": "dns-out" }, { "rule_set": "set_chinamax", "outbound": "cn" }, { "rule_set": "geosite-cn", "outbound": "direct" }, { "rule_set": "geoip-cn", "outbound": "direct" } ], "rule_set": [ { "tag": "set_chinamax", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/shangguanhongxin/for-sing-box-and-surge/master/sing-box1.9/ChinaMax/ChinaMax_All.srs", "download_detour": "proxy" }, { "tag": "geosite-cn", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs", "download_detour": "proxy" }, { "tag": "geoip-cn", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs", "download_detour": "proxy" } ] },

gamerenzz commented 3 weeks ago

好的,谢谢