2024-01-17 12:10:15 星期三
在线地址(URL)
如果无法访问域名 raw.githubusercontent.com,可以使用第二个地址(cdn.jsdelivr.net),但是内容更新会有 12 小时的延迟。以下地址填写在 Clash 配置文件里的 rule-providers 里的 url 配置项中。
目前我使用此17条规则
rule-providers:
reject: #广告域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/reject.txt
path: ./ruleset/reject.yaml
interval: 86400
icloud: #iCloud 域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt
path: ./ruleset/icloud.yaml
interval: 86400
apple: #Apple 在中国大陆可直连的域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt
path: ./ruleset/apple.yaml
interval: 86400
google: #Google 在中国大陆可直连的域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/google.txt
path: ./ruleset/google.yaml
interval: 86400
proxy: #代理域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/proxy.txt
path: ./ruleset/proxy.yaml
interval: 86400
direct: #直连域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/direct.txt
path: ./ruleset/direct.yaml
interval: 86400
private: #私有网络专用域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/private.txt
path: ./ruleset/private.yaml
interval: 86400
gfw: #GFWList 域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt
path: ./ruleset/gfw.yaml
interval: 86400
greatfire:
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/greatfire.txt
path: ./ruleset/greatfire.yaml
interval: 86400
tld-not-cn: #非中国大陆使用的顶级域名列表
type: http
behavior: domain
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/tld-not-cn.txt
path: ./ruleset/tld-not-cn.yaml
interval: 86400
telegramcidr: #Telegram 使用的 IP 地址列表
type: http
behavior: ipcidr
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/telegramcidr.txt
path: ./ruleset/telegramcidr.yaml
interval: 86400
cncidr: #中国大陆 IP 地址列表
type: http
behavior: ipcidr
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt
path: ./ruleset/cncidr.yaml
interval: 86400
lancidr: #局域网 IP 及保留 IP 地址列表
type: http
behavior: ipcidr
url: https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt
path: ./ruleset/lancidr.yaml
interval: 86400
ads_extra规则:
type: http
behavior: classical
url: http://ghproxy.com/https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanAD.yaml
path: ./ads_extra
interval: 3600
应用广告规则:
behavior: classical
type: http
url: http://ghproxy.com/https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanProgramAD.yaml
path: ./BanProgramAD.yaml
interval: 3600
Youtube规则:
type: http
url: http://clash.xiaoya.pro/rule_provider/YouTube
behavior: classical
path: ./YouTube
interval: 3600
测速规则:
type: http
url: http://clash.xiaoya.pro/rule_provider/Speedtest
behavior: classical
path: ./Speedtest
interval: 3600