Skip to content

Commit

Permalink
add rules
Browse files Browse the repository at this point in the history
  • Loading branch information
PaPerseller committed May 24, 2024
1 parent bc7706a commit 345c26b
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 8 deletions.
7 changes: 6 additions & 1 deletion Shadowrocket-ASN.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ dns-direct-fallback-proxy = true
[Rule]
# Ads
// others
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list,REJECT
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list,REJECT
DOMAIN-SET,https://raw.githubusercontent.com/TG-Twilight/AWAvenue-Ads-Rule/main/Filters/AWAvenue-Ads-Rule-Surge.list,REJECT
DOMAIN-SUFFIX,log.tagtic.cn,REJECT
DOMAIN-SUFFIX,gzads.com,REJECT
DOMAIN-SUFFIX,gozendata.com,REJECT
Expand Down Expand Up @@ -118,6 +119,9 @@ IP-CIDR,205.185.194.0/24,DIRECT,no-resolve
// telegram
RULE-SET,https://github.com/blackmatrix7/ios_rule_script/blob/master/rule/Shadowrocket/Telegram/Telegram.list,PROXY,force-remote-dns

// ai
RULE-SET,https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Tool/Loon/Rule/AI.list,PROXY,force-remote-dns

// steam proxy
DOMAIN-SUFFIX,steamcommunity-a.akamaihd.net,PROXY,force-remote-dns
DOMAIN-SUFFIX,steamstore-a.akamaihd.net,PROXY,force-remote-dns
Expand All @@ -142,6 +146,7 @@ DOMAIN-SUFFIX,humblebundle.com,PROXY,force-remote-dns
DOMAIN-KEYWORD,telegram,PROXY,force-remote-dns
DOMAIN-KEYWORD,v2ex,PROXY,force-remote-dns
DOMAIN-KEYWORD,github,PROXY,force-remote-dns
DOMAIN-SUFFIX,emby.wtf,PROXY,force-remote-dns

//Google
DOMAIN-SUFFIX,ampproject.org,PROXY,force-remote-dns
Expand Down
7 changes: 6 additions & 1 deletion Shadowrocket.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ dns-direct-fallback-proxy = true
[Rule]
# Ads
// others
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list,REJECT
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list,REJECT
DOMAIN-SET,https://raw.githubusercontent.com/TG-Twilight/AWAvenue-Ads-Rule/main/Filters/AWAvenue-Ads-Rule-Surge.list,REJECT
DOMAIN-SUFFIX,log.tagtic.cn,REJECT
DOMAIN-SUFFIX,gzads.com,REJECT
DOMAIN-SUFFIX,gozendata.com,REJECT
Expand Down Expand Up @@ -117,6 +118,9 @@ IP-CIDR,205.185.194.0/24,DIRECT,no-resolve
// telegram
RULE-SET,https://github.com/blackmatrix7/ios_rule_script/blob/master/rule/Shadowrocket/Telegram/Telegram.list,PROXY,force-remote-dns

// ai
RULE-SET,https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Tool/Loon/Rule/AI.list,PROXY,force-remote-dns

// special proxy
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Shadowrocket/ProxyLite/ProxyLite.list,PROXY,force-remote-dns
DOMAIN-SUFFIX,analytics.twitter.com,PROXY,force-remote-dns
Expand All @@ -131,6 +135,7 @@ DOMAIN-SUFFIX,humblebundle.com,PROXY,force-remote-dns
DOMAIN-KEYWORD,telegram,PROXY,force-remote-dns
DOMAIN-KEYWORD,v2ex,PROXY,force-remote-dns
DOMAIN-KEYWORD,github,PROXY,force-remote-dns
DOMAIN-SUFFIX,emby.wtf,PROXY,force-remote-dns

// steam proxy
DOMAIN-SUFFIX,steamcommunity-a.akamaihd.net,PROXYadd address=,force-remote-dns
Expand Down
23 changes: 21 additions & 2 deletions sing-box/fakeip+clashapi/config-tungate.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,9 @@
],
"rule_set": [
"geosite-telegram",
"geoip-telegram"
"geoip-telegram",
"geosite-github",
"openai"
],
"outbound": "Proxy"
},
Expand All @@ -339,7 +341,8 @@
"playartifact.com",
"steam-chat.com",
"steamcommunity.com",
"underlords.com"
"underlords.com",
"emby.wtf"
],
"domain_keyword": [
"appledaily",
Expand Down Expand Up @@ -524,6 +527,22 @@
"url": "https://raw.githubusercontent.com/PaPerseller/sing-geosite/rule-set/geosite-geolocation-!cn.srs",
"download_detour": "Proxy",
"update_interval": "10d"
},
{
"tag": "geosite-github",
"type": "remote",
"format": "binary",
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/github.srs",
"download_detour": "direct",
"update_interval": "30d"
},
{
"tag": "openai",
"type": "remote",
"format": "binary",
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/openai.srs",
"download_detour": "direct",
"update_interval": "30d"
}
],
"auto_detect_interface": true,
Expand Down
21 changes: 19 additions & 2 deletions sing-box/sing-box_client.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@
],
"rule_set": [
"geosite-telegram",
"geoip-telegram"
"geoip-telegram",
"geosite-github",
"openai"
],
"domain_suffix": [
"github.global.ssl.fastly.net",
Expand All @@ -164,7 +166,8 @@
"playartifact.com",
"steam-chat.com",
"steamcommunity.com",
"underlords.com"
"underlords.com",
"emby.wtf"
],
"domain_keyword": [
"appledaily",
Expand Down Expand Up @@ -328,6 +331,20 @@
"format": "binary",
"url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo-lite/geoip/private.srs",
"download_detour": "proxy"
},
{
"tag": "geosite-github",
"type": "remote",
"format": "binary",
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/github.srs",
"download_detour": "direct"
},
{
"tag": "openai",
"type": "remote",
"format": "binary",
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/openai.srs",
"download_detour": "direct"
}
],
"auto_detect_interface": true
Expand Down
23 changes: 21 additions & 2 deletions sing-box/sing-box_tungate.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@
],
"rule_set": [
"geosite-telegram",
"geoip-telegram"
"geoip-telegram",
"geosite-github",
"openai"
],
"domain_suffix": [
"github.global.ssl.fastly.net",
Expand All @@ -113,7 +115,8 @@
"playartifact.com",
"steam-chat.com",
"steamcommunity.com",
"underlords.com"
"underlords.com",
"emby.wtf"
],
"domain_keyword": [
"appledaily",
Expand Down Expand Up @@ -274,6 +277,22 @@
"url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/private.srs",
"download_detour": "proxy",
"update_interval": "30d"
},
{
"tag": "geosite-github",
"type": "remote",
"format": "binary",
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/github.srs",
"download_detour": "direct",
"update_interval": "30d"
},
{
"tag": "openai",
"type": "remote",
"format": "binary",
"url": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/openai.srs",
"download_detour": "direct",
"update_interval": "30d"
}
],
"final": "proxy",
Expand Down

0 comments on commit 345c26b

Please sign in to comment.