forked from chuckbadgley/Surge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Quantumult_Rule.conf
186 lines (147 loc) · 5.14 KB
/
Quantumult_Rule.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[SERVER]
[SOURCE]
[BACKUP-SERVER]
[PROJECTION]
[DNS]
// DNS
[URL-REJECTION]
// URL
// Google_Service_HTTPS_Jump
^https?://(www.)?g.cn https://www.google.com 302
^https?://(www.)?google.cn https://www.google.com 302
// Anti_ISP_JD_Hijack
^https?://coupon.m.jd.com/ https://coupon.m.jd.com/ 302
^https?://h5.m.jd.com/ https://h5.m.jd.com/ 302
^https?://item.m.jd.com/ https://item.m.jd.com/ 302
^https?://m.jd.com https://m.jd.com 302
^https?://newcz.m.jd.com/ https://newcz.m.jd.com/ 302
^https?://p.m.jd.com/ https://p.m.jd.com/ 302
^https?://so.m.jd.com/ https://so.m.jd.com/ 302
^https?://union.click.jd.com/jda? http://union.click.jd.com/jda?adblock= header
^https?://union.click.jd.com/sem.php? http://union.click.jd.com/sem.php?adblock= header
^https?://www.jd.com/ https://www.jd.com/ 302
// Anti_ISP_Taobao_Hijack
^https?://m.taobao.com/ https://m.taobao.com/ 302
# URL_REJECT
[TCP]
// Custom
# Apple
URL-REGEX,apple.com/cn,🍎 Only
PROCESS-NAME,trustd,🍎 Only
USER-AGENT,%E5%9C%B0%E5%9B%BE*,🍎 Only
USER-AGENT,%E8%AE%BE%E7%BD%AE*,🍎 Only
USER-AGENT,AppStore*,🍎 Only
USER-AGENT,com.apple.appstored*,🍎 Only
USER-AGENT,com.apple.Mobile*,🍎 Only
USER-AGENT,com.apple.geod*,🍎 Only
USER-AGENT,com.apple.Maps*,🍎 Only
USER-AGENT,com.apple.trustd/*,🍎 Only
USER-AGENT,FindMyFriends*,🍎 Only
USER-AGENT,FMDClient*,🍎 Only
USER-AGENT,FMFD*,🍎 Only
USER-AGENT,fmflocatord*,🍎 Only
USER-AGENT,geod*,🍎 Only
USER-AGENT,i?unes*,🍎 Only
USER-AGENT,locationd*,🍎 Only
USER-AGENT,MacAppStore*,🍎 Only
USER-AGENT,Maps*,🍎 Only
USER-AGENT,MobileAsset*,🍎 Only
USER-AGENT,Watch*,🍎 Only
USER-AGENT,$%7BPRODUCT*,🍎 Only
USER-AGENT,Music*,🍎 Only
USER-AGENT,?arsecd*,🍎 Only
USER-AGENT,securityd*,🍎 Only
USER-AGENT,server-bag*,🍎 Only
USER-AGENT,Settings*,🍎 Only
USER-AGENT,Software%20Update*,🍎 Only
USER-AGENT,SyncedDefaults*,🍎 Only
USER-AGENT,passd*,🍎 Only
USER-AGENT,swcd*,🍎 Only
USER-AGENT,trustd*,🍎 Only
DOMAIN,support.apple.com,🍎 Only
DOMAIN,smp-device-content.apple.com,🍎 Only
DOMAIN,osxapps.itunes.apple.com,🍎 Only
DOMAIN,metrics.apple.com,🍎 Only
DOMAIN,iosapps.itunes.apple.com,🍎 Only
DOMAIN,init.itunes.apple.com,🍎 Only
DOMAIN,images.apple.com,🍎 Only
DOMAIN,idmsa.apple.com,🍎 Only
DOMAIN,guzzoni.apple.com,🍎 Only
DOMAIN,configuration.apple.com,🍎 Only
DOMAIN,captive.apple.com,🍎 Only
DOMAIN,appleiphonecell.com,🍎 Only
DOMAIN,appleid.apple.com,🍎 Only
DOMAIN,swscan.apple.com,🍎 Only
DOMAIN,swdist.apple.com,🍎 Only
DOMAIN,swquery.apple.com,🍎 Only
DOMAIN,swdownload.apple.com,🍎 Only
DOMAIN,swcdn.apple.com,🍎 Only
DOMAIN-SUFFIX,akadns.net,🍎 Only
DOMAIN-SUFFIX,cdn-apple.com,🍎 Only
DOMAIN-SUFFIX,ess.apple.com,🍎 Only
DOMAIN-SUFFIX,lookup-api.apple.com,🍎 Only
DOMAIN-SUFFIX,ls.apple.com,🍎 Only
DOMAIN-SUFFIX,mzstatic.com,🍎 Only
DOMAIN-SUFFIX,push.apple.com,🍎 Only
DOMAIN-SUFFIX,siri.apple.com,🍎 Only
DOMAIN-SUFFIX,aaplimg.com,🍎 Only
DOMAIN-SUFFIX,apple.co,🍎 Only
DOMAIN-SUFFIX,apple.com,🍎 Only
DOMAIN-SUFFIX,icloud-content.com,🍎 Only
DOMAIN-SUFFIX,icloud.com,🍎 Only
DOMAIN-SUFFIX,itunes.apple.com,🍎 Only
DOMAIN-SUFFIX,itunes.com,🍎 Only
DOMAIN-SUFFIX,me.com,🍎 Only
# Rule_REJECT
# PROXY
# DIRECT
DOMAIN-SUFFIX,cn,🍂 Domestic
// Accelerate direct sites
DOMAIN-KEYWORD,torrent,🍂 Domestic
// Force some domains which are fucked by GFW while resolving DNS,or do not respect the system Proxy
DOMAIN-KEYWORD,appledaily,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,blogspot,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,dropbox,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,google,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,spotify,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,telegram,🍃 Proxy,force-remote-dns
DOMAIN-KEYWORD,whatsapp,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,appspot.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,cdninstagram.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,facebook.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,facebook.design,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,fb.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,fb.me,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,fbcdn.net,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,gmail.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,googleapis.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,instagram.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,scdn.co,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,t.co,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,twimg.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,twitpic.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,twitter.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,youtube.com,🍃 Proxy,force-remote-dns
DOMAIN-SUFFIX,youtube-nocookie.com,🍃 Proxy,force-remote-dns
// LAN,debugging rules should place above this line
IP-CIDR,10.0.0.0/8,DIRECT
IP-CIDR,100.64.0.0/10,DIRECT
IP-CIDR,127.0.0.0/8,DIRECT
IP-CIDR,172.0.0.0/8,DIRECT
IP-CIDR,192.168.0.0/16,DIRECT
// Detect local network
GEOIP,CN,🍂 Domestic
// Use Proxy for all others
FINAL,🍃 Proxy
[GLOBAL]
[HOST]
// Host
localhost = 127.0.0.1
syria.sy = 127.0.0.1
thisisinsider.com = server:8.8.4.4
onedrive.live.com = 204.79.197.217
skyapi.onedrive.live.com = 131.253.14.230
[STATE]
STATE,AUTO
[MITM]
// hostname