forked from wlaotou/Profiles
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSurgeNG.conf
199 lines (188 loc) · 13.1 KB
/
SurgeNG.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
187
188
189
190
191
192
193
194
195
196
197
198
199
# DIVENG.io 2018.10.11
[General]
loglevel = notify
skip-proxy = 192.168.0.0/16, 193.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
ipv6 = true
show-error-page-for-reject = true
dns-server = 119.29.29.29,223.5.5.5,1.0.0.1
[Proxy]
1 = ss, 1.2.3.4, 443, encrypt-method=aes-128-gcm, password=password
2 = ss, 1.2.3.4, 443, encrypt-method=aes-128-gcm, password=password
3 = ss, 1.2.3.4, 443, encrypt-method=chacha20-ietf-poly1305, password=password, obfs=tls, obfs-host=yunjiasu-cdn.net
4 = ss, 1.2.3.4, 443, encrypt-method=chacha20-ietf-poly1305, password=password, obfs=tls, obfs-host=bing.com
[Proxy Group]
PROXY = select,AUTO,1,2,3,4
APPLE = select,DIRECT,PROXY
MEDIA = select,1,2,3,4
AUTO = fallback,1,2,3,4,url = http://www.gstatic.com/generate_204
[Rule]
# Advertisement and Tracking Block 去广告以及隐私追踪保护
RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/AdTrkBlock.list,REJECT
# Internet Service Provider Hijacking 反运营商劫持
RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/ISPHijacking.list,REJECT
# Apple News 及海外版 Apple Maps
RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Apple.list,APPLE
# Media 媒体应用(Youtube、Netflix、HBO、Hulu、BBC iPlayer、Bahamut、myTV SUPER、AbemaTV 和 JOOX)
RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Media.list,MEDIA
# China 回国加速规则
# RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/China.list,PROXY
# Global 海外加速规则
RULE-SET,https://raw.githubusercontent.com/ConnersHua/Profiles/master/Surge/Global.list,PROXY
FINAL,DIRECT
[Host]
# CUSTOM HOST
[URL Rewrite]
# Redirect_Google_Service
^https?://(www.)?g.cn https://www.google.com 302
^https?://(www.)?google.cn https://www.google.com 302
# Redirect_HTTP_to_HTTPS
^https?://(www.)?taobao.com/ https://taobao.com/ 302
^https?://(www.)?jd.com/ https://jd.com/ 302
^https?://(www.)?mi.com/ https://www.mi.com/ 302
^https?://(www.)?dangdang.com/ https://www.dangdang.com/ 302
^https?://you.163.com/ https://you.163.com/ 302
^https?://(www.)?suning.com/ https://suning.com/ 302
^https?://(www.)?yhd.com https://yhd.com/ 302
# Redirect_False_to_True
# - IGN_China_to_IGN_Global
^https?://(www.)?ign.xn--fiqs8s/ http://cn.ign.com/ccpref/us 302
# - Fake_Website_Made_By_Makeding
^https?://(www.)?abbyychina.com/ http://www.abbyy.cn/ 302
^https?://(www.)?bartender.cc/ https://cn.seagullscientific.com 302
^https?://(www.)?betterzip.net/ https://macitbetter.com/ 302
^https?://(www.)?beyondcompare.cc/ https://www.scootersoftware.com/ 302
^https?://(www.)?bingdianhuanyuan.cn/ http://www.faronics.com/zh-hans/ 302
^https?://(www.)?chemdraw.com.cn/ http://www.cambridgesoft.com/ 302
^https?://(www.)?codesoftchina.com/ https://www.teklynx.com/ 302
^https?://(www.)?coreldrawchina.com/ https://www.coreldraw.com/cn/ 302
^https?://(www.)?crossoverchina.com/ https://www.codeweavers.com/ 302
^https?://(www.)?easyrecoverychina.com/ https://www.ontrack.com/ 302
^https?://(www.)?ediuschina.com/ https://www.grassvalley.com/ 302
^https?://(www.)?flstudiochina.com/ https://www.image-line.com/flstudio/ 302
^https?://(www.)?formysql.com/ https://www.navicat.com.cn 302
^https?://(www.)?guitarpro.cc/ https://www.guitar-pro.com/ 302
^https?://(www.)?huishenghuiying.com.cn/ https://www.corel.com/cn/ 302
^https?://(www.)?iconworkshop.cn/ https://www.axialis.com/iconworkshop/ 302
^https?://(www.)?imindmap.cc/ https://imindmap.com/zh-cn/ 302
^https?://(www.)?jihehuaban.com.cn/ https://sketch.io/ 302
^https?://(www.)?keyshot.cc/ https://www.keyshot.com/ 302
^https?://(www.)?mathtype.cn/ http://www.dessci.com/en/products/mathtype/ 302
^https?://(www.)?mindmanager.cc/ https://www.mindjet.com/ 302
^https?://(www.)?mindmapper.cc/ https://mindmapper.com 302
^https?://(www.)?mycleanmymac.com/ https://macpaw.com/cleanmymac 302
^https?://(www.)?nicelabel.cc/ https://www.nicelabel.com/ 302
^https?://(www.)?ntfsformac.cc/ https://www.tuxera.com/products/tuxera-ntfs-for-mac-cn/ 302
^https?://(www.)?ntfsformac.cn/ https://www.paragon-software.com/ufsdhome/zh/ntfs-mac/ 302
^https?://(www.)?overturechina.com/ https://sonicscores.com/overture/ 302
^https?://(www.)?passwordrecovery.cn/ https://cn.elcomsoft.com/aopr.html 302
^https?://(www.)?ultraiso.net/ https://cn.ezbsystems.com/ultraiso/ 302
^https?://(www.)?vegaschina.cn/ https://www.vegas.com/ 302
^https?://(www.)?xmindchina.net/ https://www.xmind.cn/ 302
^https?://(www.)?xshellcn.com/ https://www.netsarang.com/products/xsh_overview.html 302
^https?://(www.)?yuanchengxiezuo.com/ https://www.teamviewer.com/zhcn/ 302
^https?://(www.)?zbrushcn.com/ http://pixologic.com/ 302
# Advertisement_Protection 去广告
# - Google
^https?:\/\/.+\.youtube\.com\/get_midroll - reject
^https?:\/\/premiumyva\.appspot\.com\/vmclickstoadvertisersite - reject
^https?:\/\/.+\.youtube\.com\/api\/stats - reject
^https?:\/\/.+\.youtube\.com\/pagead\/ - reject
^https?:\/\/.+\.youtube\.com\/ptracking\? - reject
# googleapis.com 加入 MitM 会导致异常
# ^https?://www.googleapis.com/adsmeasurement/ - reject/
# ^https?://youtubei.googleapis.com/youtubei/v1/player/ad_break - reject
# - Baidu
^https?:\/\/update\.pan\.baidu\.com\/statistics - reject
^https?:\/\/issuecdn\.baidupcs\.com\/issue\/netdisk\/guanggao\/ - reject
# - Tencent
^https?:\/\/mp\.weixin\.qq.com\/mp\/ad_complaint - reject
^https?:\/\/mtteve\.beacon\.qq\.com\/analytics - reject
^https?:\/\/mp\.weixin\.qq.com\/mp\/advertisement_report - reject
^https?:\/\/mp\.weixin\.qq.com\/mp\/ad_video - reject
# - iQiyi
^https?:\/\/.+\/videos\/other\/.+\.(mp4|f4v) - reject
# - Le
^https?:\/\/.+\/letv-gug\/ - reject
# - Youku
^https?:\/\/.+\.mp4\?ccode=0902 - reject
^https?:\/\/.+\.mp4\?sid= - reject
# - CMVideo
^https?:\/\/.+\/v1\/iflyad\/ - reject
^https?:\/\/.+\/cdn-adn\/ - reject
^https?:\/\/ggic\.cmvideo\.cn\/ad\/ - reject
^https?:\/\/ggic2\.cmvideo\.cn\/ad\/ - reject
^https?:\/\/.+/img\/ad\.union\.api\/ - reject
# - 163
^https?:\/\/oimage([a-z])([0-9])\.ydstatic\.com/\.+?adpublish - reject
^https?:\/\/dsp-impr2\.youdao\.com\/adload.s\? - reject
^https?:\/\/c\.m\.163\.com\/nc\/gl\/ - reject
^https?:\/\/client\.mail\.163\.com\/apptrack\/confinfo\/searchMultiAds - reject
^https?:\/\/interface\.music\.163\.com\/eapi\/ad\/ - reject
# - Sina
^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/sdkad\.php - reject
^https?:\/\/wbapp\.uve\.weibo\.com\/wbapplua\/wbpullad\.lua - reject
^https?:\/\/sdkapp\.uve\.weibo\.com/\interface\/sdk\/actionad\.php - reject
^https?:\/\/api.weibo.cn\/2\/mfp\/dix - reject
# - Sohu
^https?:\/\/api\.k\.sohu\.com\/api\/news\/adsense - reject
^https?:\/\/pic\.k\.sohu\.com\/img8\/wb\/tj\/ - reject
^https?:\/\/hui\.sohu\.com\/predownload2/\? - reject
# - MI
^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/homepage_ad\? - reject
^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sleep_ad\? - reject
^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_ad\? - reject
^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_summary_ad\? - reject
^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_training_ad\? - reject
^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/step_detail_ad\? - reject
^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/training_video_ad\? - reject
# - Wifi8
^https?:\/\/cmsapi\.wifi8\.com\/v1\/emptyAd\/info - reject
^https?:\/\/cmsapi\.wifi8\.com\/v2\/adNew\/config - reject
# - PConline
^https?:\/\/ivy\.pchouse\.com\.cn\/adpuba\/ - reject
^https?:\/\/agent-count\.pconline\.com\.cn\/counter\/adAnalyse\/ - reject
# - 4GTV
^https?:\/\/service\.4gtv\.tv\/4gtv\/Data\/GetAD - reject
^https?:\/\/service\.4gtv\.tv\/4gtv\/Data\/ADLog - reject
# - ofo
^https?:\/\/supportda\.ofo\.com\/adaction\? - reject
^https?:\/\/ma\.ofo\.com\/ads\/ - reject
^https?:\/\/activity2\.api\.ofo\.com\/ofo\/Api\/v2\/ads - reject
# - Kingsoft
^https?:/\/\counter\.ksosoft.com\/ad\.php - reject
^https?:\/\/ios\.wps\.cn\/ad-statistics-service - reject
^https?:\/\/mobile-pic\.cache\.iciba\.com\/feeds_ad\/ - reject
^https?:\/\/.+\.kingsoft-office-service\.com\/ad - reject
# - CMB
^https?:\/\/mlife\.cmbchina\.com/ClientFaceService\/preCacheAdvertise\.json - reject
^https?:\/\/mlife\.cmbchina\.com\/ClientFaceService\/getAdvertisement\.json - reject
# - Others
^https?:\/\/overseas\.weico\.cc/portal\.php\?a=get_coopen_ads - reject
^https?:\/\/img\.jiemian\.com\/ads\/ - reject
^https?:\/\/www\.zhihu\.com\/api\/v4\/community-ad\/ - reject
^https?:\/\/sdk\.99shiji\.com\/ad\/ - reject
^https?:\/\/app\.58\.com\/api\/log\/ - reject
^https?:\/\/cdn\.api\.fotoable\.com\/Advertise\/ - reject
^https?:\/\/edit\.sinaapp\.com\/ua\?t=adv - reject
^https?:\/\/huichuan\.sm\.cn\/jsad - reject
^https?:\/\/iflow\.uczzd\.cn\/log\/ - reject
^https?:\/\/gw\.aihuishou\.com\/app-portal\/home\/getadvertisement - reject
^https?:\/\/www\.facebook\.com\/.+video_click_to_advertiser_site - reject
^https?:\/\/bdsp-x\.jd\.com\/adx\/ - reject
^https?:\/\/mangaapi\.manhuaren\.com\/v1\/public\/getStartPageAds - reject
^https?:\/\/dsp\.toutiao\.com\/api\/xunfei\/ads\/ - reject
^https?:\/\/api\.xiachufang\.com\/v2\/ad/ - reject
^https?:\/\/.+\/action\/ad_impression - reject
^https?:\/\/ctrl\.zmzapi\.net\/app\/ads - reject
^https?:\/\/ctrl\.zmzapi\.net\/app\/init - reject
^https?:\/\/lf\.snssdk\.com\/api\/ad\/ - reject
^https?:\/\/m\.client\.10010\.com\/uniAdmsInterface\/(getWelcomeAd|getHomePageAd) - reject
^https?:\/\/m\.ibuscloud.com\/v2\/app\/getStartPage - reject
^https?:\/\/smkmp\.96225.com\/smkcenter\/ad/ - reject
# CUSTOM URL
[MITM]
skip-server-cert-verify = true
hostname = *.youtube.com,premiumyva.appspot.com,*.qq.com,*.k.sohu.com,*.ydstatic.com,*.youdao.com,img.jiemian.com,www.zhihu.com,huichuan.sm.cn,service.4gtv.tv,*.ofo.com,*.163.com,www.facebook.com,*.uve.weibo.com,api.weibo.cn,ios.wps.cn,*.kingsoft-office-service.com,api.xiachufang.com,mlife.cmbchina.com,lf.snssdk.com,m.client.10010.com,m.ibuscloud.com,smkmp.96225.com
enable = true
ca-passphrase = 15F5092B
ca-p12 = MIIJtAIBAzCCCX4GCSqGSIb3DQEHAaCCCW8EgglrMIIJZzCCA9cGCSqGSIb3DQEHBqCCA8gwggPEAgEAMIIDvQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIb9u68FCUtaICAggAgIIDkJmdLPCzX5lJ1TPDjgq5/LgB2VL/vPL9YHy3MRnhXg1+ib18H73x1vNM330PD08ll+5tsp07CgFCw5fch8EfpJAbxvMrQN/qnns9KUWZk8H64sav2ToUIykSWQR3f9R562cf12/t2oid+RvOh+JkS6l2c58NE9X+wQq8vGv80G0Ep0M7E0mTlsOE29xeTj1XtDE9N2jge67E9SRI83E0CmGlo0fvTkOoxmkqrAdha91g5k8B52Zqu07ju7gyHFeEjVS4VxWk6812d+3ojypbGWlGd+oSnaQMdVZS9VOul57xMfsf+3InMHpExqeujBGySaNCvonoArNIAONreq9Impqivk2FuXGHNj+yBEiZeYtneZuc6FdoTvH6oH3eAj5QzpQbvapp/d15zSPQ3rKTHQ2o71sC3pt7xaTiUFgQHNVPBUR6gtctXQj4C9kqE9aKHXp236DKRNK3wdrDMamxoJQpkYXAnxpc+K6Jte0Zk7l9tm0nIaqOSe0zUs08ZKJFWoyZXD4dkO5xdIdVGEV+hvn5DeAly1H+gsgHR4cLAW0eIWLjGgwT4CuoINUGU86d2y8dpkblB0FtEQeIxlUqH4/Ha184YUkq10gyv3NXo9A5vwIa0twRfLVIJD4ZBmPx9WL1XGd+wks7HVy8UZbi1+tOL/2G1T/Ua6QVE4DfACtMLAf1FfGWwz0WntPNSRuLeY6m3ug9DkbQCo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