forked from Ptechgithub/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclash12.yaml
284 lines (262 loc) · 11.4 KB
/
clash12.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
#Github :Github.com/Ptechgithub
#YouTube :www.youtube.com/@IR_TECH
#====Reference from clash-meta official document: wiki.metacubex.one=====
# (Part 1) ============================== (clash configuration)
# dns can be modified by yourself
port: 7890
allow-lan: true
mode: rule
log-level: info
unified-delay: true
global-client-fingerprint: chrome
dns:
enable: true
listen: :53
ipv6: true
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
default-nameserver:
- 223.5.5.5
- 8.8.8.8
nameserver:
- https://dns.alidns.com/dns-query
- https://1.1.1.1/dns-query
fallback:
- https://1.0.0.1/dns-query
- tls://1.1.1.1
fallback-filter:
geoip: true
geoip-code: IR
ipcidr:
- 240.0.0.0/4
# (Part 2) ================================ (Configs)
# Currently 12 protocol node configuration templates, modify according to requirements, if a certain protocol node is not used, there is no need to delete it, just make sure that the node name does not exist in (Part 3)
proxies:
#==============1================(vless-reality-vision node)
- name: vless-reality-vision node #Customizable name
type: vless
server: for.forcedparadise.space #The resolved domain name or IP
port: 101 #custom port
uuid: bbab7aaf-f77c-480c-be00-276c35eeedd3 #custom uuid
network: tcp
udp: true
tls: true
flow: xtls-rprx-vision
servername: google.com #custom SNI
reality-opts:
public-key: JHvkY6wjxkk6c7CUjVR63QumCQewWrvo2VebduKcqCA #custom public-key
short-id: b4c5fc07 #custom short-id
client-fingerprint: chrome #Custom browser fingerprinting
#==============2================(vless-reality-grpc node)
- name: vless-reality-grpc node #Customizable name
type: vless
server: for.forcedparadise.space #The resolved domain name or IP
port: 102 #custom port
uuid: 86934f59-255a-47f0-a495-38b4a7dc8a6c #custom uuid
network: grpc
tls: true
udp: true
flow:
client-fingerprint: chrome #Custom browser fingerprinting
servername: google.com #custom SNI
grpc-opts:
grpc-service-name: "Peyman" #" "custom characters
reality-opts:
public-key: 7V6PMJXFEHWIl5pIOqqWLWnC5UYr48pn4a43rI98oQQ #custom public-key
short-id: c76cc99e #custom short-id
#=============3=================(vless-ws-tls node)
- name: vless-ws-tls node #Customizable name
type: vless
server: 104.31.16.60 #resolved domain name or preferred domain name IP
port: 2083 #custom port
uuid: 94ad16a0-1783-4b76-b04b-ac895c862c3d #custom uuid
udp: true
tls: true
network: ws
servername: for.forcedparadise.space #sni domain name, consistent with the following host
ws-opts:
path: "/?ed=2048" #" "inner custom path
headers:
Host: for.forcedparadise.space #host domain name, consistent with the above servername
#=============4=================(vless-ws node)
- name: vless-ws node #Customizable name
type: vless
server: for.forcedparadise.space #resolved domain name or preferred domain name IP
port: 103 #custom port
uuid: fc05dc52-2be7-4667-92dd-8b536535395c #custom uuid
udp: true
tls: false
network: ws
servername: for.forcedparadise.space #sni domain name, consistent with the following host
ws-opts:
path: "/?ed=2048" #" "inner custom path
headers:
Host: for.forcedparadise.space #host domain name, consistent with the above servername
#===============5===============(vmess-ws-tls node)
- name: vmess-ws-tls node #Customizable name
type: vmess
server: 104.31.16.60 #resolved domain name or preferred domain name IP
port: 8443 #custom port
uuid: 88d8e461-1a60-4707-81bc-18621a250981 #custom uuid
alterId: 0
cipher: auto
udp: true
tls: true
network: ws
servername: for.forcedparadise.space #sni domain name, consistent with the following host
ws-opts:
path: "/?ed=2048" #custom path
headers:
Host: for.forcedparadise.space #host domain name, consistent with the above servername
#=============6=================(vmess-ws node)
- name: vmess-ws node #Customizable name
type: vmess
server: for.forcedparadise.space #resolved domain name or preferred domain name IP
port: 104 #custom port
uuid: f3aa6a3f-dfef-3a92-8a0b-a3229625dc23 #custom uuid
alterId: 0
cipher: auto
udp: true
tls: false
network: ws
servername: for.forcedparadise.space #sni domain name, consistent with the following host
ws-opts:
path: "/?ed=2048" #" "inner custom path
headers:
Host: for.forcedparadise.space #host domain name, consistent with the above servername
#=============7=================(trojan-tcp-tls node)
- name: trojan-tcp-tls node #Customizable name
type: trojan
server: for.forcedparadise.space #resolved domain name
port: 443 #custom port
password: x9yz70zXEm #custom password
client-fingerprint: chrome
udp: true
sni: for.forcedparadise.space #sni domain name, consistent with the above server address
alpn:
- h2
- http/1.1
skip-cert-verify: true
#==============8================(hysteria certificate node)
- name: hysteria certificate node #Customizable name
type: hysteria
server: for.forcedparadise.space #resolved domain name
port: 105 #Custom port, change multiple ports to ports: space 1000,2000-3000
auth-str: 126456 #custom password
alpn:
- h3
protocol: udp #Custom protocol: udp/wechat-video/faketcp
up: 50 #Custom upload limit
down: 200 #Custom Download Limits
sni: for.forcedparadise.space #sni domain name, consistent with the above server address
skip-cert-verify: false
fast-open: true
#=============9=================(hysteria self signed node)
- name: hysteria self signed node #Customizable name
type: hysteria
server: 91.107.23.17 #Server local IP
port: 106 #Custom port
auth-str: 12345 #custom password
alpn:
- h3
protocol: udp #Custom protocol: udp/wechat-video/faketcp
up: 40 #Custom upload limit
down: 100 #Custom Download Limits
sni: www.bing.com
skip-cert-verify: true
fast-open: true
#==============10================(tuic-V5 node)
- name: tuic-V5 node #Customizable name
server: tuic.forcedparadise.space #The resolved domain name or IP
port: 107 #custom port
type: tuic
uuid: d0c12467-506f-49b2-8481-93afc89cfe0f #custom uuid
password: 12345 #custom password
alpn: ["h3", "spdy/3.1"]
disable-sni: true
reduce-rtt: true
udp-relay-mode: native
congestion-controller: bbr
#==============11================(tuic-V5 node IP V6)
- name: tuic-V5 node V6 #Customizable name
server: 2a01:4f8:1c1b:c14::1 #The resolved domain name or IPV6
port: 108 #custom port
type: tuic
uuid: d0c22467-516f-42b2-8781-93afc89cfe0f #custom uuid
password: 12345 #custom password
alpn: ["h3", "spdy/3.1"]
disable-sni: true
reduce-rtt: true
udp-relay-mode: native
congestion-controller: bbr
#===============12===============(warp-wireguard node)
- name: warp-wireguard node #Customizable name
type: wireguard
server: 162.159.193.10 #You can customize the preferred peer IP, which corresponds to the port below
port: 2408 #You can customize the preferred peer IP, which corresponds to the IP of the server above
ip: 172.16.0.2
ipv6: 2606:4700:190:814e:7de3:5ddb:9d3e:9359 #Corresponding to private-key, if you delete this line, it means only IPV4
public-key: bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=
private-key: gK3C8ijdVlT7sd5fsdf5ssdfgsdfgsdfgobT2U+rgHo= #Get private-key
udp: true
#(part 3) ================================ (Proxy Group Configuration)
#The diversion group can be created and added by itself. The name node name under the proxies parameter can be increased or decreased according to the needs to ensure that the name node name that appears can be found in the proxy agreement of the (Part 2)
proxy-groups:
- name: 🔠Load balancing
type: load-balance
url: http://www.gstatic.com/generate_204
interval: 300
proxies:
- vless-reality-vision node
- vless-reality-grpc node
- vless-ws-tls node
- vless-ws node
- vmess-ws-tls node
- vmess-ws node
- trojan-tcp-tls node
- hysteria certificate node
- hysteria self signed node
- tuic-V5 node
- tuic-V5 node V6
- warp-wireguard node
- name: ♻️Auto choose
type: url-test
url: http://www.gstatic.com/generate_204
interval: 300
tolerance: 50
proxies:
- vless-reality-vision node
- vless-reality-grpc node
- vless-ws-tls node
- vless-ws node
- vmess-ws-tls node
- vmess-ws node
- trojan-tcp-tls node
- hysteria certificate node
- hysteria self signed node
- tuic-V5 node
- tuic-V5 node V6
- warp-wireguard node
- name: 🌍All proxy
type: select
proxies:
- 🔠Load balancing #Customize the name field of the added protocol
- ♻️Auto choose
- DIRECT
- vless-reality-vision node
- vless-reality-grpc node
- vless-ws-tls node
- vless-ws node
- vmess-ws-tls node
- vmess-ws node
- trojan-tcp-tls node
- hysteria certificate node
- hysteria self signed node
- tuic-V5 node
- tuic-V5 node V6
- warp-wireguard node
#(Part 4) ================================ (Rules)
# Proxy rules can be added by themselves
rules:
- GEOIP,IR,DIRECT
- MATCH,🌍All proxy