-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathexample-config.yaml
More file actions
129 lines (117 loc) · 2.49 KB
/
Copy pathexample-config.yaml
File metadata and controls
129 lines (117 loc) · 2.49 KB
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
# 示例配置文件
# 展示 mihomo-speedtest-rs 支持的各种代理协议
mixed-port: 17890
allow-lan: false
mode: rule
log-level: info
external-controller: '127.0.0.1:19090'
proxies:
# Shadowsocks 代理
- name: "SS-HK-01"
type: ss
server: ss.example.com
port: 443
cipher: aes-256-gcm
password: your_password_here
udp: true
# VMess 代理
- name: "VMess-JP-01"
type: vmess
server: vmess.example.com
port: 443
uuid: 12345678-1234-1234-1234-123456789abc
alterId: 0
cipher: auto
tls: true
skip-cert-verify: true
network: ws
ws-opts:
path: /path
headers:
Host: vmess.example.com
# VLESS 代理
- name: "VLESS-US-01"
type: vless
server: vless.example.com
port: 443
uuid: 12345678-1234-1234-1234-123456789abc
tls: true
skip-cert-verify: true
network: ws
ws-opts:
path: /path
headers:
Host: vless.example.com
# Trojan 代理
- name: "Trojan-SG-01"
type: trojan
server: trojan.example.com
port: 443
password: your_trojan_password
udp: true
skip-cert-verify: true
network: ws
ws-opts:
path: /path
headers:
Host: trojan.example.com
# Hysteria2 代理
- name: "Hysteria2-KR-01"
type: hysteria2
server: hy2.example.com
port: 8443
ports: 21000-26000
password: your_hysteria2_password
skip-cert-verify: true
# AnyTLS 代理
- name: "AnyTLS-DE-01"
type: anytls
server: anytls.example.com
port: 4430
client-fingerprint: chrome
password: your_anytls_password
udp: true
tfo: true
skip-cert-verify: true
# HTTP 代理
- name: "HTTP-Proxy-01"
type: http
server: http.example.com
port: 8080
username: user
password: pass
# SOCKS5 代理
- name: "SOCKS5-Proxy-01"
type: socks5
server: socks5.example.com
port: 1080
username: user
password: pass
udp: true
proxy-groups:
- name: "SpeedTest"
type: select
proxies:
- "SS-HK-01"
- "VMess-JP-01"
- "VLESS-US-01"
- "Trojan-SG-01"
- "Hysteria2-KR-01"
- "AnyTLS-DE-01"
- "HTTP-Proxy-01"
- "SOCKS5-Proxy-01"
- name: "Auto"
type: url-test
proxies:
- "SS-HK-01"
- "VMess-JP-01"
- "VLESS-US-01"
- "Trojan-SG-01"
- "Hysteria2-KR-01"
- "AnyTLS-DE-01"
- "HTTP-Proxy-01"
- "SOCKS5-Proxy-01"
url: "http://www.gstatic.com/generate_204"
interval: 300
rules:
- MATCH,SpeedTest