forked from Ehco1996/ehco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxray_trojan.json
68 lines (68 loc) · 1.79 KB
/
xray_trojan.json
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
{
"reload_interval": 1,
"xray_config": {
"stats": {},
"api": {
"tag": "api",
"services": [
"StatsService",
"HandlerService"
]
},
"log": {
"loglevel": "debug"
},
"policy": {
"levels": {
"0": {
"statsUserUplink": true,
"statsUserDownlink": true
}
},
"system": {
"statsInboundUplink": true,
"statsInboundDownlink": true,
"statsOutboundUplink": true,
"statsOutboundDownlink": true
}
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 4443,
"protocol": "trojan",
"tag": "trojan_proxy",
"settings": {
"clients": [
{
"password": "123456xx",
"email": "1.com"
}
],
"network": "tcp,udp",
"fallbacks": [
{
"dest": "127.0.0.1:1234"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"h2",
"http/1.1"
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
}