shangguanhongxin / for-sing-box-and-surge

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

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

Open gamerenzz opened 2 months ago

gamerenzz commented 2 months ago

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

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

shangguanhongxin commented 2 months 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 2 months ago

好的,谢谢