-
Notifications
You must be signed in to change notification settings - Fork 2
/
provider.yaml
847 lines (847 loc) · 16.3 KB
/
provider.yaml
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
mixed-port: 7890
socks-port: 7891
redir-port: 7892
tproxy-port: 7893
allow-lan: true
bind-address: "*"
mode: rule
routing-mark: 2048
geodata-mode: false
unified-delay: true
udp: true
enable-process: true
geox-url:
mmdb: https://raw.githubusercontent.com/misakaio/chnroutes2/master/chnroutes.mmdb
geoip: https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/geoip.dat
geosite: https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/geosite.dat
iptables:
enable: true
log-level: info
profile:
store-selected: true
store-fake-ip: true
tracing: false
ipv6: false
external-controller: 0.0.0.0:9090
secret: ""
experimental:
ignore-resolve-fail: true
hosts:
localhost: 127.0.0.1
find-process-mode: strict
sniffer:
enable: true
parse-pure-ip: true
override-destination: true
sniff:
TLS:
ports: [443, 8443]
HTTP:
ports: [80, 8080-8880]
override-destination: true
force-domain:
- +.v2ex.com
- www.google.com
- google.com
skip-domain:
- Mijia Cloud
- dlg.io.mi.com
- +.apple.com
global-client-fingerprint: chrome
keep-alive-interval: 15
tcp-concurrent: true
clash-for-android:
append-system-dns: false
tun:
enable: false
stack: gvisor
mtu: 9000
strict_route: true
macOS-auto-route: true
macOS-auto-detect-interface: true
dns-hijack:
- 0.0.0.0:53
- any:53
auto-route: true
auto-detect-interface: true
cfw-latency-timeout: 1200
cfw-latency-url: http://www.google.com/generate_204
cfw-conn-break-strategy:
proxy: chain
profile: true
mode: true
cfw-proxies-order: default
cfw-bypass:
- localhost
- <local>
dns:
enable: true
prefer-h3: true
ipv6: false
use-hosts: true
listen: 0.0.0.0:5533
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter:
- "*.lan"
- cable.auth.com
- "*.msftconnecttest.com"
- "*.msftncsi.com"
- network-test.debian.org
- detectportal.firefox.com
- resolver1.opendns.com
- "*.srv.nintendo.net"
- "*.stun.playstation.net"
- xbox.*.microsoft.com
- "*.xboxlive.com"
- stun.*
- global.turn.twilio.com
- global.stun.twilio.com
- localhost.*.qq.com
- "*.logon.battlenet.com.cn"
- "*.logon.battle.net"
- "*.blzstatic.cn"
- music.163.com
- "*.music.163.com"
- "*.126.net"
- musicapi.taihe.com
- music.taihe.com
- songsearch.kugou.com
- trackercdn.kugou.com
- "*.kuwo.cn"
- api-jooxtt.sanook.com
- api.joox.com
- joox.com
- y.qq.com
- "*.y.qq.com"
- streamoc.music.tc.qq.com
- mobileoc.music.tc.qq.com
- isure.stream.qqmusic.qq.com
- dl.stream.qqmusic.qq.com
- aqqmusic.tc.qq.com
- amobile.music.tc.qq.com
- "*.xiami.com"
- "*.music.migu.cn"
- music.migu.cn
- proxy.golang.org
- "*.mcdn.bilivideo.cn"
- "*.cmpassport.com"
- id6.me
- open.e.189.cn
- mdn.open.wo.cn
- opencloud.wostore.cn
- auth.wosms.cn
- "*.jegotrip.com.cn"
- "*.icitymobile.mobi"
- "*.pingan.com.cn"
- "*.cmbchina.com"
- pool.ntp.org
- "*.pool.ntp.org"
- ntp.*.com
- time.*.com
- ntp?.*.com
- time?.*.com
- time.*.gov
- time.*.edu.cn
- "*.ntp.org.cn"
- PDC._msDCS.*.*
- DC._msDCS.*.*
- GC._msDCS.*.*
default-nameserver:
- 223.5.5.5
- 223.6.6.6
- 119.29.29.29
- 119.28.28.28
nameserver:
- https://223.5.5.5/dns-query
- https://223.6.6.6/dns-query
- https://1.12.12.12/dns-query
- https://120.53.53.53/dns-query
proxy-server-nameserver:
- https://dns.google.com/dns-query
- h3://odoh.cloudflare-dns.com/dns-query
- h3://anycast.dns.nextdns.io/dns-query
- h3://dns.nextdns.io/dns-query
fallback:
- https://dns.google.com/dns-query
- h3://odoh.cloudflare-dns.com/dns-query
- h3://anycast.dns.nextdns.io/dns-query
- h3://dns.nextdns.io/dns-query
nameserver-policy:
+.tencent*: 119.29.29.29
+.tencent*.*: 119.29.29.29
+.qcloud*.c*: 119.29.29.29
+.myqcloud.com: 119.29.29.29
+.qq.com: 119.29.29.29
+.qlogo.cn: 119.29.29.29
+.qpic.cn: 119.29.29.29
+.weixin.com: 119.29.29.29
+.weixinbridge.com: 119.29.29.29
"*wechat.com": 119.29.29.29
+.weiyun.com: 119.29.29.29
+.gtimg.cn: 119.29.29.29
+.idqqimg.com: 119.29.29.29
+.cdn-go.cn: 119.29.29.29
+.smtcdns.???: 119.29.29.29
url.cn: 119.29.29.29
+.alibaba*: 223.5.5.5
+.alibaba*.*: 223.5.5.5
+.1688.com: 223.5.5.5
+.taobao.com: 223.5.5.5
+.tbcache.com: 223.5.5.5
+.tmall.com: 223.5.5.5
+.alicdn.com: 223.5.5.5
+.aliyun*: 223.5.5.5
+.aliyun*.*: 223.5.5.5
+.aliapp.???: 223.5.5.5
+.mmstat.com: 223.5.5.5
+.alipay*: 223.5.5.5
+.alipay*.*: 223.5.5.5
tb.cn: 223.5.5.5
+.mzstatic.*: 223.5.5.5
+.aaplimg.*: 223.5.5.5
+.icloud.*: 223.5.5.5
+.apple.*: 223.5.5.5
"*-apple.*": 223.5.5.5
+.apple-*: 223.5.5.5
+.apple-*.*: 223.5.5.5
+.apple: 223.5.5.5
+.baidu: 114.114.114.114
+.baidu*: 114.114.114.114
+.baidu*.*: 114.114.114.114
+.bdimg.com: 114.114.114.114
+.bdstatic.com: 114.114.114.114
+.bdydns.*: 114.114.114.114
+.bdycdn.*: 114.114.114.114
+.bdysit*.com: 114.114.114.114
+.bce???.*: 114.114.114.114
dwz.cn: 114.114.114.114
+.360.cn: 101.226.4.6
+.360safe.com: 101.226.4.6
+.360kuai.com: 101.226.4.6
+.so.com: 101.226.4.6
+.360webcache.com: 101.226.4.6
+.qihuapi.com: 101.226.4.6
+.qhimg.com: 101.226.4.6
+.qhimgs.com: 101.226.4.6
+.qhimgs?.com: 101.226.4.6
+.qhmsg.com: 101.226.4.6
+.qhres.com: 101.226.4.6
+.qhres?.com: 101.226.4.6
+.dhrest.com: 101.226.4.6
+.qhupdate.com: 101.226.4.6
+.yunpan.cn: 101.226.4.6
+.yunpan.com.cn: 101.226.4.6
+.yunpan.com: 101.226.4.6
urlqh.cn: 101.226.4.6
+.bilibili.com: 119.29.29.29
+.biliapi.???: 119.29.29.29
+.bilicdn?.com: 119.29.29.29
+.hdslb.???: 119.29.29.29
+.bilivideo.c*: 119.29.29.29
+.acg.tv: 119.29.29.29
+.jd.com: 223.5.5.5
+.360buyimg.com: 223.5.5.5
+.jdcloud.com: 223.5.5.5
+.jcloudstatic.???: 223.5.5.5
+.jdgslb.com: 223.5.5.5
3.cn: 223.5.5.5
fallback-filter:
geoip: true
geoip-code: CN
geosite:
- gfw
ipcidr:
- 240.0.0.0/4
- 127.0.0.0/8
- 0.0.0.0/8
- 100.64.0.0/10
- 169.254.0.0/16
- 192.0.0.0/24
- 192.0.2.0/24
- 192.88.99.0/24
- 198.18.0.0/15
- 198.51.100.0/24
- 203.0.113.0/24
- 224.0.0.0/4
- 255.255.255.255/32
domain:
- +.google.com
- +.facebook.com
- +.youtube.com
- +.google.cn
- +.googleapis.cn
- +.translate.googleapis.com
- +.safebrowsing.googleapis.com
- +.clientservices.googleapis.com
- +.bing.com
- +.linkedin.com
- +.msn.cn
- +.playstationnetwork.com
- +.sony.com
- +.sonyentertainmentnetwork.com
- +.playstation.com
- .ac
- .ad
- .ae
- .aero
- .af
- .ag
- .ai
- .al
- .am
- .ao
- .app
- .aq
- .ar
- .art
- .as
- .asia
- .at
- .au
- .aw
- .ax
- .az
- .ba
- .bar
- .bb
- .bd
- .be
- .beauty
- .best
- .bf
- .bg
- .bh
- .bi
- .bible
- .biz
- .bj
- .bm
- .bn
- .bo
- .br
- .bs
- .bt
- .buzz
- .bw
- .by
- .bz
- .ca
- .cat
- .catholic
- .cd
- .cf
- .cg
- .ch
- .chat
- .church
- .ci
- .ck
- .cl
- .cloud
- .club
- .cm
- .co
- .college
- .company
- .cool
- .coop
- .cr
- .cu
- .cv
- .cw
- .cx
- .cy
- .cyou
- .cz
- .day
- .de
- .design
- .dev
- .digital
- .dj
- .dk
- .dm
- .do
- .dog
- .download
- .dz
- .earth
- .ec
- .eco
- .edu
- .ee
- .eg
- .er
- .es
- .et
- .eu
- .eu.org
- .fi
- .fit
- .fj
- .fk
- .fm
- .fo
- .fr
- .fun
- .fyi
- .ga
- .game
- .gay
- .gd
- .ge
- .gf
- .gg
- .gh
- .gi
- .gl
- .glass
- .global
- .gm
- .gn
- .google
- .gov
- .gp
- .gq
- .gr
- .green
- .gs
- .gt
- .gu
- .gw
- .gy
- .health
- .hk
- .hm
- .hn
- .homes
- .host
- .hr
- .ht
- .hu
- .icu
- .id
- .ie
- .il
- .im
- .in
- .inc
- .info
- .ink
- .int
- .iq
- .ir
- .is
- .it
- .je
- .jm
- .jo
- .jobs
- .jp
- .ke
- .kg
- .kh
- .ki
- .kid
- .km
- .kn
- .kp
- .kr
- .kw
- .ky
- .kz
- .la
- .lb
- .lc
- .li
- .life
- .link
- .live
- .lk
- .loan
- .lol
- .love
- .lr
- .ls
- .lt
- .lu
- .lv
- .ly
- .ma
- .mc
- .md
- .me
- .media
- .men
- .mg
- .mh
- .mil
- .mk
- .ml
- .mm
- .mn
- .mo
- .mobi
- .moe
- .monster
- .mp
- .mq
- .mr
- .ms
- .mt
- .mu
- .museum
- .mv
- .mw
- .mx
- .my
- .mz
- .na
- .name
- .nc
- .ne
- .network
- .nf
- .ng
- .ni
- .nl
- .no
- .np
- .nr
- .nu
- .nz
- .om
- .one
- .online
- .ooo
- .pa
- .pe
- .pf
- .pg
- .ph
- .pics
- .pk
- .pl
- .pm
- .pn
- .post
- .pr
- .pro
- .ps
- .pt
- .pub
- .pw
- .py
- .qa
- .quest
- .re
- .rest
- .rip
- .ro
- .rocks
- .rs
- .ru
- .run
- .rw
- .sa
- .sb
- .sbs
- .sc
- .sd
- .se
- .sex
- .sg
- .sh
- .shop
- .si
- .site
- .sk
- .sl
- .sm
- .sn
- .so
- .space
- .sr
- .ss
- .st
- .store
- .su
- .sv
- .sx
- .sy
- .sz
- .tc
- .td
- .team
- .tech
- .tel
- .tf
- .tg
- .th
- .tj
- .tk
- .tl
- .tm
- .tn
- .to
- .today
- .tokyo
- .top
- .tr
- .travel
- .tt
- .tv
- .tw
- .tz
- .ua
- .ug
- .uk
- .uno
- .us
- .uy
- .uz
- .va
- .vc
- .ve
- .vg
- .vi
- .video
- .vip
- .vn
- .vu
- .website
- .wf
- .wiki
- .win
- .work
- .ws
- .wtf
- .xxx
- .xyz
- .ye
- .yt
- .za
- .zm
- .zone
- .zw
proxy-providers:
provider:
type: http
url: 这里写你的代理订阅
interval: 7200
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
proxy-groups:
- name: ✈️ 代理
type: select
proxies:
- 🍥 自动测试
- ⚡️ 负载均衡
- ♾️ 故障转移
- 👋 手动
- 🇭🇰 自动HK
- 🇨🇳 自动TW
- 🇯🇵 自动JP
- 🇸🇬 自动SG
- 🇺🇸 自动US
- 🇭🇰 循环HK
- 🇨🇳 循环TW
- 🇯🇵 循环JP
- 🇸🇬 循环SG
- 🇺🇸 循环US
- DIRECT
- REJECT
- name: 👋 手动
type: select
use:
- provider
- name: 🔍 必应
type: select
proxies:
- DIRECT
- REJECT
- ✈️ 代理
- 👋 手动
- 🇭🇰 自动HK
- 🇨🇳 自动TW
- 🇯🇵 自动JP
- 🇸🇬 自动SG
- 🇺🇸 自动US
- name: 📺 B站
type: select
proxies:
- DIRECT
- REJECT
- ✈️ 代理
- 👋 手动
- 🇭🇰 自动HK
- 🇨🇳 自动TW
- 🇯🇵 自动JP
- 🇸🇬 自动SG
- 🇺🇸 自动US
- name: 🍥 自动测试
type: url-test
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
- name: ⚡️ 负载均衡
type: load-balance
strategy: consistent-hashing
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
- name: ♾️ 故障转移
type: fallback
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
proxies:
- 🇭🇰 自动HK
- 🇨🇳 自动TW
- 🇯🇵 自动JP
- 🇸🇬 自动SG
- 🇺🇸 自动US
- 🍥 自动测试
- name: 🇭🇰 自动HK
type: url-test
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)港|hk|hongkong|hong kong"
- name: 🇨🇳 自动TW
type: url-test
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)湾"
- name: 🇯🇵 自动JP
type: url-test
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)日"
- name: 🇸🇬 自动SG
type: url-test
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)新"
- name: 🇺🇸 自动US
type: url-test
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)美"
- name: 🇭🇰 循环HK
type: load-balance
strategy: consistent-hashing
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)港|hk|hongkong|hong kong"
- name: 🇨🇳 循环TW
type: load-balance
strategy: consistent-hashing
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)湾"
- name: 🇯🇵 循环JP
type: load-balance
strategy: consistent-hashing
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)日"
- name: 🇸🇬 循环SG
type: load-balance
strategy: consistent-hashing
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)新"
- name: 🇺🇸 循环US
type: load-balance
strategy: consistent-hashing
url: http://www.google.com/generate_204
interval: 120
tolerance: 200
use:
- provider
filter: "(?i)美"
- name: 🎯 直连
type: select
proxies:
- DIRECT
- ✈️ 代理
- REJECT
rule-providers:
white:
type: http
behavior: classical
format: text
url: "https://raw.githubusercontent.com/DoingDog/rconvert/main/static/main/Direct.list"
interval: 600
bing:
type: http
behavior: classical
format: text
url: "https://raw.githubusercontent.com/DoingDog/FuckDOMAINSET/main/cv/downms.txt"
interval: 600
bilibili:
type: http
behavior: classical
format: text
url: "https://raw.githubusercontent.com/DoingDog/rconvert/main/static/serv/bili.list"
interval: 600
proxy:
type: http
behavior: classical
format: text
url: "https://raw.githubusercontent.com/DoingDog/rconvert/main/static/main/Proxy.list"
interval: 600
direct:
type: http
behavior: classical
format: text
url: "https://raw.githubusercontent.com/DoingDog/rconvert/main/dirt/fin.txt"
interval: 600
directip:
type: http
behavior: classical
format: text
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaIPsBGP/ChinaIPsBGP_Resolve.list"
interval: 600
rules:
- RULE-SET,white,🎯 直连
- RULE-SET,bing,🔍 必应
- RULE-SET,bilibili,📺 B站
- RULE-SET,proxy,✈️ 代理
- RULE-SET,direct,🎯 直连
- RULE-SET,directip,🎯 直连
- MATCH,✈️ 代理