Skip to content

Commit bf9bcd6

Browse files
committed
根据v5版本现有文档添加配置
1 parent 4cc09a4 commit bf9bcd6

File tree

30 files changed

+1341
-0
lines changed

30 files changed

+1341
-0
lines changed

V5-Shadowsocks-TCP/client.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"access": {
3+
"type": "Console",
4+
"level": "Warning"
5+
},
6+
"error": {
7+
"type": "Console",
8+
"level": "Warning"
9+
},
10+
"inbounds": [
11+
{
12+
"listen": "127.0.0.1",
13+
"port": "10808",
14+
"protocol": "socks",
15+
"settings": {
16+
"udpEnabled": true,
17+
"address": "127.0.0.1"
18+
}
19+
},
20+
{
21+
"listen": "127.0.0.1",
22+
"port": "10809",
23+
"protocol": "http"
24+
}
25+
],
26+
"outbounds": [
27+
{
28+
"protocol": "shadowsocks",
29+
"settings": {
30+
"address": "{{ host }}",
31+
"port": 1234,
32+
"method": "chacha20-ietf-poly1305",
33+
"password": "{{ password}}"
34+
},
35+
"streamSettings": {
36+
"transport": "tcp"
37+
},
38+
"tag": "proxy"
39+
},
40+
{
41+
"protocol": "freedom",
42+
"tag": "direct"
43+
}
44+
]
45+
}

V5-Shadowsocks-TCP/server.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"access": {
3+
"type": "Console",
4+
"level": "Warning"
5+
},
6+
"error": {
7+
"type": "Console",
8+
"level": "Warning"
9+
},
10+
"inbounds": [
11+
{
12+
"listen": "0.0.0.0",
13+
"port": 1234,
14+
"protocol": "shadowsocks",
15+
"settings": {
16+
"method": "chacha20-ietf-poly1305",
17+
"password": "{{ password }}"
18+
},
19+
"streamSettings": {
20+
"transport": "tcp"
21+
}
22+
}
23+
],
24+
"outbounds": [
25+
{
26+
"protocol": "freedom",
27+
"tag": "direct"
28+
},
29+
{
30+
"protocol": "blackhole",
31+
"tag": "block"
32+
}
33+
]
34+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"access": {
3+
"type": "Console",
4+
"level": "Warning"
5+
},
6+
"error": {
7+
"type": "Console",
8+
"level": "Warning"
9+
},
10+
"routing": {
11+
"domainStrategy": "AsIs",
12+
"rules": [
13+
{
14+
"type": "field",
15+
"inboundTag": "wsdoko",
16+
"outboundTag": "ssmux"
17+
}
18+
]
19+
},
20+
"inbounds": [
21+
{
22+
"port": 10000,
23+
"listen": "127.0.0.1",
24+
"protocol": "dokodemo-door",
25+
"tag": "wsdoko",
26+
"settings": {
27+
"address": "v1.mux.cool",
28+
"followRedirect": false,
29+
"network": "tcp, udp"
30+
},
31+
"sniffing": {
32+
"enabled": true,
33+
"destOverride": [
34+
"http",
35+
"tls"
36+
]
37+
},
38+
"streamSettings": {
39+
"transport": "ws",
40+
"transportSettings": {
41+
"path": "/path"
42+
}
43+
}
44+
},
45+
{
46+
"port": 9000,
47+
"protocol": "shadowsocks",
48+
"settings": {
49+
"method": "chacha20-ietf-poly1305",
50+
"ota": false,
51+
"password": "ifYouWantToKeepYourPassphraseSafeChangeThis!!",
52+
"network": "tcp,udp"
53+
},
54+
"streamSettings": {
55+
"transport": "domainsocket"
56+
}
57+
}
58+
],
59+
"outbounds": [
60+
{
61+
"protocol": "freedom",
62+
"settings": {},
63+
"tag": "direct"
64+
},
65+
{
66+
"protocol": "blackhole",
67+
"settings": {},
68+
"tag": "blocked"
69+
},
70+
{
71+
"protocol": "freedom",
72+
"tag": "ssmux",
73+
"streamSettings": {
74+
"network": "domainsocket"
75+
}
76+
}
77+
],
78+
"dsSettings": {
79+
"path": "/var/run/ss-loop/ss-loop.sock"
80+
}
81+
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"access": {
3+
"type": "Console",
4+
"level": "Warning"
5+
},
6+
"error": {
7+
"type": "Console",
8+
"level": "Warning"
9+
},
10+
"router": {
11+
"domainStrategy": "AsIs",
12+
"rule": [
13+
{
14+
"inboundTag": "wsdoko",
15+
"tag": "ssredirect"
16+
}
17+
]
18+
},
19+
"inbounds": [
20+
{
21+
"port": 10000,
22+
"listen": "127.0.0.1",
23+
"protocol": "dokodemo-door",
24+
"tag": "wsdoko",
25+
"settings": {
26+
"address": "v1.mux.cool",
27+
"followRedirect": false,
28+
"network": "tcp, udp"
29+
},
30+
"sniffing": {
31+
"enabled": true,
32+
"destOverride": [
33+
"http",
34+
"tls"
35+
]
36+
},
37+
"streamSettings": {
38+
"transport": "ws",
39+
"transportSettings": {
40+
"path": "/path"
41+
}
42+
}
43+
},
44+
{
45+
"port": 9000,
46+
"protocol": "shadowsocks",
47+
"settings": {
48+
"method": "chacha20-ietf-poly1305",
49+
"ota": false,
50+
"password": "ifYouWantToKeepYourPassphraseSafeChangeThis!!",
51+
"network": "tcp,udp"
52+
}
53+
}
54+
],
55+
"outbounds": [
56+
{
57+
"protocol": "freedom",
58+
"settings": {},
59+
"tag": "direct"
60+
},
61+
{
62+
"protocol": "blackhole",
63+
"settings": {},
64+
"tag": "blocked"
65+
},
66+
{
67+
"protocol": "freedom",
68+
"tag": "ssredirect",
69+
"settings": {
70+
"redirect": "127.0.0.1:9000"
71+
}
72+
}
73+
]
74+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"access": {
3+
"type": "Console",
4+
"level": "Warning"
5+
},
6+
"error": {
7+
"type": "Console",
8+
"level": "Warning"
9+
},
10+
"inbounds": [
11+
{
12+
"listen": "127.0.0.1",
13+
"port": "10808",
14+
"protocol": "socks",
15+
"settings": {
16+
"udpEnabled": true,
17+
"address": "127.0.0.1"
18+
}
19+
},
20+
{
21+
"listen": "127.0.0.1",
22+
"port": "10809",
23+
"protocol": "http"
24+
}
25+
],
26+
"outbounds": [
27+
{
28+
"protocol": "shadowsocks",
29+
"settings": {
30+
"address": "{{ host }}",
31+
"port": 443,
32+
"method": "chacha20-ietf-poly1305",
33+
"password": "{{ password }}"
34+
},
35+
"streamSettings": {
36+
"transport": "ws",
37+
"security": "tls",
38+
"transportSettings": {
39+
"path": "/path"
40+
}
41+
},
42+
"tag": "proxy"
43+
},
44+
{
45+
"protocol": "freedom",
46+
"tag": "direct"
47+
}
48+
]
49+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"access": {
3+
"type": "Console",
4+
"level": "Warning"
5+
},
6+
"error": {
7+
"type": "Console",
8+
"level": "Warning"
9+
},
10+
"inbounds": [
11+
{
12+
"listen": "127.0.0.1",
13+
"port": 10000,
14+
"protocol": "shadowsocks",
15+
"settings": {
16+
"method": "chacha20-ietf-poly1305",
17+
"password": "{{ password }}"
18+
},
19+
"streamSettings": {
20+
"transport": "ws",
21+
"transportSettings": {
22+
"path": "/path"
23+
}
24+
}
25+
}
26+
],
27+
"outbounds": [
28+
{
29+
"protocol": "freedom",
30+
"tag": "direct"
31+
},
32+
{
33+
"protocol": "blackhole",
34+
"tag": "block"
35+
}
36+
]
37+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"access": {
3+
"type": "Console",
4+
"level": "Warning"
5+
},
6+
"error": {
7+
"type": "Console",
8+
"level": "Warning"
9+
},
10+
"inbounds": [
11+
{
12+
"listen": "127.0.0.1",
13+
"port": "10808",
14+
"protocol": "socks",
15+
"settings": {
16+
"udpEnabled": true,
17+
"address ": "127.0.0.1"
18+
}
19+
},
20+
{
21+
"listen": "127.0.0.1",
22+
"port": "10809",
23+
"protocol": "http"
24+
}
25+
],
26+
"outbounds": [
27+
{
28+
"protocol": "shadowsocks",
29+
"settings": {
30+
"address": "{{ host }}",
31+
"port": 443,
32+
"method": "chacha20-ietf-poly1305",
33+
"password": "{{ password }}"
34+
},
35+
"streamSettings": {
36+
"transport": "grpc",
37+
"security": "tls",
38+
"transportSettings": {
39+
"serviceName": "michi"
40+
}
41+
},
42+
"tag": "proxy"
43+
},
44+
{
45+
"protocol": "freedom",
46+
"tag": "direct"
47+
}
48+
]
49+
}

0 commit comments

Comments
 (0)