最最最完美的steam规则for clash!!!
rule-providers:
steam:
type: http
behavior: domain
url: "https://jsdelivr.2heng.xin/gh/mashirozx/clash-rule-custom@main/steam.yml"
path: ./ruleset/steam.yaml
interval: 86400
steam@cn:
type: http
behavior: domain
url: "https://jsdelivr.2heng.xin/gh/mashirozx/clash-rule-custom@main/[email protected]"
path: ./ruleset/[email protected]
interval: 86400
steam@general:
type: http
behavior: domain
url: "https://jsdelivr.2heng.xin/gh/mashirozx/clash-rule-custom@main/[email protected]"
path: ./ruleset/[email protected]
interval: 86400
steam@proxy:
type: http
behavior: domain
url: "https://jsdelivr.2heng.xin/gh/mashirozx/clash-rule-custom@main/[email protected]"
path: ./ruleset/[email protected]
interval: 86400
rules:
# $app_name 换成你的代理/代理组名称
# 以下规则放在其他全局规则之前!!
# Steam 的通用服务,服务器位于国外,但是国内能访问,会影响下载节点的选择,建议不要走代理
- RULE-SET,steam@general,DIRECT
# Steam 的国内节点,当然得直连
- RULE-SET,steam@cn,DIRECT
# Steam 被墙的服务,主要就是社区和聊天
- RULE-SET,steam@proxy,$app_name