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
| port: 7890
socks-port: 7891
redir-port: 7892
allow-lan: true
bind-address: '*'
mode: rule
log-level: info
external-controller: 127.0.0.1:9090
proxies:
- name: first
type: trojan
server: first.com
port: 443
password: first.com
skip-cert-verify: true
- name: second
type: trojan
server: second.com
port: 443
password: second.com
skip-cert-verify: true
secret: ""
proxy-groups:
- name: "lb"
type: load-balance
proxies:
- first
- second
url: 'http://www.gstatic.com/generate_204'
interval: 300
- name: "auto"
type: url-test
proxies:
- first
- second
# tolerance: 150
# lazy: true
url: 'http://www.gstatic.com/generate_204'
interval: 300
rules:
- MATCH,auto
|