· 8 years ago · Feb 06, 2018, 02:32 PM
1{
2 "inbound": {
3 "port": 8080,
4 "listen": "127.0.0.1",
5 "protocol": "socks",
6 "settings": {
7 "auth": "noauth",
8 "udp": true
9 }
10 },
11 "outbound": {
12 "protocol": "vmess",
13 "settings": {
14 "vnext": [{
15 "address": "*.*.*.*",
16 "port": 443,
17 "users": [
18 {
19 "id": "*******",
20 "alterId": 10,
21 "email": "*@gmail.com"
22 }
23 ]
24 }]
25 },
26 "streamSettings": {
27 "network": "kcp"
28 }
29 },
30 "outboundDetour": [{
31 "protocol": "freedom",
32 "tag": "direct",
33 "settings": {}
34 }],
35 "routing": {
36 "strategy": "rules",
37 "settings": {
38 "domainStrategy": "IPOnDemand",
39 "rules": [{
40 "type": "field",
41 "ip": [
42 "0.0.0.0/8",
43 "10.0.0.0/8",
44 "100.64.0.0/10",
45 "127.0.0.0/8",
46 "169.254.0.0/16",
47 "172.16.0.0/12",
48 "192.0.0.0/24",
49 "192.0.2.0/24",
50 "192.168.0.0/16",
51 "198.18.0.0/15",
52 "198.51.100.0/24",
53 "203.0.113.0/24",
54 "::1/128",
55 "fc00::/7",
56 "fe80::/10"
57 ],
58 "outboundTag": "direct"
59 }]
60 }
61 }
62}