From 76a49765d35f1e9fdf3b2a3ae435669788057113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=B8=B8?= Date: Mon, 14 Mar 2022 10:21:48 +0800 Subject: [PATCH] Add steam domain list --- config.yaml | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/config.yaml b/config.yaml index 0aa761c..0816cb4 100644 --- a/config.yaml +++ b/config.yaml @@ -24,18 +24,18 @@ dns: enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 fake-ip-filter: - - '*.lan' - - '*.localdomain' - - '*.example' - - '*.invalid' - - '*.localhost' - - '*.test' - - '*.local' - - '*.home.arpa' + - "*.lan" + - "*.localdomain" + - "*.example" + - "*.invalid" + - "*.localhost" + - "*.test" + - "*.local" + - "*.home.arpa" - router.asus.com - localhost.sec.qq.com - localhost.ptlogin2.qq.com - - '+.msftconnecttest.com' + - "+.msftconnecttest.com" tun: enable: true stack: system @@ -140,6 +140,20 @@ rule-providers: path: ./ruleset/applications.yaml interval: 36000 + steam: + type: http + behavior: domain + url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/steam.txt" + path: ./ruleset/steam.yaml + interval: 86400 + + steamcn: + type: http + behavior: domain + url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/steam-cn.txt" + path: ./ruleset/steamcn.yaml + interval: 86400 + rules: - RULE-SET,applications,DIRECT - DOMAIN,clash.razord.top,DIRECT @@ -156,4 +170,6 @@ rules: - RULE-SET,lancidr,DIRECT - RULE-SET,cncidr,DIRECT - RULE-SET,telegramcidr,PROXY + - RULE-SET,steam,PROXY + - RULE-SET,steamcn,DIRECT - MATCH,PROXY