-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules.sh
More file actions
84 lines (70 loc) · 4.36 KB
/
rules.sh
File metadata and controls
84 lines (70 loc) · 4.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/bin/bash
# Note:
# When the script prompts you to provide the dedicated configuration link, please copy and use the RAW link of your own Gist!
#
# 注意:
# 当脚本提示你提供专属配置链接时,请使用你自己的Gist的RAW链接!
# Optional.
# If you are concerned about privacy and security issues, simply delete the SUBSCRIPTION_URLS array and subscribe to your servers manually.
SUBSCRIPTION_URLS=(
# Change to your own subscription URL(s).
"https://dash.yfjc.xyz/api/v1/client/subscribe?token=e2deb66528de2aa8b63fedb77beecf77"
)
# Required.
RULESET_URLS=(
# "Your_Custom_Node_Name|URL(s)"
#
# or
#
# "Your_Custom_Node_Name|
# URL(s)"
"reject_out|
https://raw.githubusercontent.com/privacy-protection-tools/anti-ad.github.io/master/docs/anti-ad-sing-box.srs"
"PROXY_SERVER_01_US|
/etc/homeproxy/ruleset/MyProxy.json
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/google@cn.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/google-gemini.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/google-trust-services.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/google-trust-services@cn.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/google-play.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/google-play@cn.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/googlefcm.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/google.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geoip/google.srs"
"PROXY_SERVER_02_US|
/etc/homeproxy/ruleset/MyAI.json
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/openai.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/bing.srs
https://raw.githubusercontent.com/KaringX/karing-ruleset/sing/geo/geoip/ai.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/telegram.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geoip/telegram.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/discord.srs"
"PROXY_SERVER_02_SG_With_Or_Without_Suffix|
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/twitch.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/amazon.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/amazon@cn.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/amazontrust.srs"
"PROXY_SERVER_02_US_IPv6_AsBackup|
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/twitter.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/x.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/twitter.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/tiktok.srs"
"direct_out|
/etc/homeproxy/ruleset/MyDirect.json
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/microsoft@cn.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/azure@cn.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/apple-cn.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geoip/cn.srs
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/sing/geo/geosite/cn.srs"
)
# Required.
DNS_SERVERS=(
# "Your_Custom_DNS_Server_Name|URL(s)"
# Tip: The order of Your_Custom_DNS_Server_Name in the DNS_SERVERS array does not have to be consistent with that in the RULESET_URLS array.
"PROXY_SERVER_01_US|https://dns.google/dns-query"
"PROXY_SERVER_02_US|https://dns.google/dns-query"
"PROXY_SERVER_02_SG_With_Or_Without_Suffix|https://1.1.1.1/dns-query"
"PROXY_SERVER_02_US_IPv6_AsBackup|https://[2001:4860:4860:0000:0000:0000:0000:8888]/dns-query"
"Default_DNS_Server|https://dns.google/dns-query"
)
Comment