-
Notifications
You must be signed in to change notification settings - Fork 5
/
Lucky-Shadowrocket.conf
151 lines (147 loc) · 6.79 KB
/
Lucky-Shadowrocket.conf
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#Lucky自用Shadowrocket的配置
[General]
# 跳过代理
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,100.64.0.0/10, 17.0.0.0/8, *.local, *.crashlytics.com, seed-sequoia.siri.apple.com, localhost, sequoia.apple.com, www.abchina.com.cn, iosapps.itunes.apple.com
# 排除路由
tun-excluded-routes = 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.88.99.0/24, 192.168.0.0/16, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 255.255.255.255/32, 239.255.255.250/32
# DNS服务器
dns-server = 223.5.5.5, 119.29.29.29
# 后备DNS服务器
fallback-dns-server = system
# 旁路由
bypass-system = true
# IPv6
ipv6 = false
# IPv6
prefer-ipv6 = false
# DNS
dns-fallback-system = false
dns-direct-system = false
# ICMP自动回复
icmp-auto-reply = true
# 始终拒绝URL重写
always-reject-url-rewrite = false
# 私人IP回答
private-ip-answer = true
# DNS直接后备代理
dns-direct-fallback-proxy = true
# UDP策略不支持行为
udp-policy-not-supported-behaviour = REJECT
[Proxy Group]
# 苹果服务
苹果服务 = select,DIRECT,PROXY,自动选择,香港节点,台湾节点,日本节点,韩国节点,新加坡节点,美国节点,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204
# 港台番剧
港台番剧 = select,DIRECT,PROXY,香港节点,台湾节点,interval=86400,timeout=5,select=2,url=http://www.gstatic.com/generate_204
# 国内媒体
国内媒体 = select,DIRECT,PROXY,香港节点,台湾节点,interval=600,timeout=5,select=0,url=http://www.gstatic.com/generate_204
# 国际媒体
国际媒体 = select,PROXY,DIRECT,自动选择,香港节点,台湾节点,日本节点,韩国节点,新加坡节点,美国节点,interval=600,timeout=5,select=2,url=http://www.gstatic.com/generate_204
# 全球加速
全球加速 = select,PROXY,DIRECT,自动选择,香港节点,台湾节点,日本节点,韩国节点,新加坡节点,美国节点,interval=600,timeout=5,select=2,url=http://www.gstatic.com/generate_204
# 兜底
法外狂徒 = select,PROXY,DIRECT,自动选择,香港节点,台湾节点,日本节点,韩国节点,新加坡节点,美国节点,interval=600,timeout=5,select=2,url=http://www.gstatic.com/generate_204
# 自动选择
自动选择 = url-test,url=http://www.gstatic.com/generate_204,interval=1800,tolerance=50,timeout=5,select=0,policy-regex-filter=^
# 香港节点
香港节点 = url-test,url=http://www.gstatic.com/generate_204,interval=1800,tolerance=50,timeout=5,select=0,policy-regex-filter=香港|港|HK|🇭🇰|(?i)Hong
# 台湾节点
台湾节点 = url-test,url=http://www.gstatic.com/generate_204,interval=1800,tolerance=50,timeout=5,select=0,policy-regex-filter=台湾|台|TW|🇹🇼|(?i)Taiwan
# 日本节点
日本节点 = url-test,url=http://www.gstatic.com/generate_204,interval=1800,tolerance=50,timeout=5,select=0,policy-regex-filter=日本|日|JP|🇯🇵|(?i)Japan
# 韩国节点
韩国节点 = url-test,url=http://www.gstatic.com/generate_204,interval=1800,tolerance=50,timeout=5,select=0,policy-regex-filter=韩国|韩|KR|🇰🇷|(?i)Korea
# 新加坡节点
新加坡节点 = url-test,url=http://www.gstatic.com/generate_204,interval=1800,tolerance=50,timeout=5,select=0,policy-regex-filter=新加坡|狮|SG|🇸🇬|(?i)Singapore
# 美国节点
美国节点 = url-test,url=http://www.gstatic.com/generate_204,interval=1800,tolerance=50,timeout=5,select=0,policy-regex-filter=美国|美|US|🇺🇸|(?i)States
[Rule]
# 规则修正
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/Unbreak.list,DIRECT
# 广告拦截
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/AdBlock.list,REJECT
# 国际媒体
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/Streaming.list,国际媒体
# 港台番剧
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/StreamingSE.list,港台番剧
# 国内媒体
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/StreamingCN.list,国内媒体
# 全球加速
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/Global.list,全球加速
# 苹果服务
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/Apple.list,苹果服务
# 局域网络
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/LAN.list,DIRECT
# 国内规则
RULE-SET,https://raw.githubusercontent.com/Centralmatrix3/Matrix-io/master/Shadowrocket/Ruleset/GEOIPCN.list,DIRECT
# 最终规则
FINAL,法外狂徒
[Host]
localhost = 127.0.0.1
apple.com = server:223.5.5.5
*.apple.com = server:223.5.5.5
appsto.re = server:223.5.5.5
*.appsto.re = server:223.5.5.5
aaplimg.com = server:223.5.5.5
*.aaplimg.com = server:223.5.5.5
apple-dns.net = server:223.5.5.5
*.apple-dns.net = server:223.5.5.5
apple.co = server:223.5.5.5
*.apple.co = server:223.5.5.5
applestore.com = server:223.5.5.5
*.applestore.com = server:223.5.5.5
apple.com.cn = server:223.5.5.5
*.apple.com.cn = server:223.5.5.5
cdn-apple.com = server:223.5.5.5
*.cdn-apple.com = server:223.5.5.5
apple-cloudkit.com = server:223.5.5.5
*.apple-cloudkit.com = server:223.5.5.5
crashlytics.com = server:223.5.5.5
*.crashlytics.com = server:223.5.5.5
icloud.com = server:223.5.5.5
*.icloud.com = server:223.5.5.5
icloud.com.cn = server:223.5.5.5
*.icloud.com.cn = server:223.5.5.5
icloud-content.com = server:223.5.5.5
*.icloud-content.com = server:223.5.5.5
me.com = server:223.5.5.5
*.me.com = server:223.5.5.5
mzstatic.com = server:223.5.5.5
*.mzstatic.com = server:223.5.5.5
organicfruitapps.com = server:223.5.5.5
*.organicfruitapps.com = server:223.5.5.5
apple.com.akadns.net = server:223.5.5.5
*.apple.com.akadns.net = server:223.5.5.5
icloud.com.akadns.net = server:223.5.5.5
*.icloud.com.akadns.net = server:223.5.5.5
taobao.com = server:223.5.5.5
*.taobao.com = server:223.5.5.5
tmall.com = server:223.5.5.5
*.tmall.com = server:223.5.5.5
jd.com = server:119.29.29.29
*.jd.com = server:119.29.29.29
*.qq.com = server:119.29.29.29
*.tencent.com = server:119.29.29.29
*.alicdn.com = server:223.5.5.5
aliyun.com = server:223.5.5.5
*.aliyun.com = server:223.5.5.5
weixin.com = server:119.28.28.28
*.weixin.com = server:119.28.28.28
bilibili.com = server:119.29.29.29
*.bilibili.com = server:119.29.29.29
hdslb.com = server:119.29.29.29
163.com = server:119.29.29.29
*.163.com = server:119.29.29.29
126.com = server:119.29.29.29
*.126.com = server:119.29.29.29
*.126.net = server:119.29.29.29
*.127.net = server:119.29.29.29
*.netease.com = server:119.29.29.29
mi.com = server:119.29.29.29
*.mi.com = server:119.29.29.29
xiaomi.com = server:119.29.29.29
*.xiaomi.com = server:119.29.29.29
[MITM]
# 主机名
hostname = -weather-data.apple.com, -buy.itunes.apple.com, -*.icloud.com
# Enable
enable = true