0%

SS 部署配置

简单的客户端配置, 服务端配置同理

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
apiVersion: v1
kind: Pod
metadata:
name: ss-client
labels:
app: ss-client
version: v1
spec:
hostNetwork: true
containers:
- name: shadowsocks
image: mritd/shadowsocks
imagePullPolicy: IfNotPresent
ports:
- containerPort: 1080
name: ss-port
protocol: TCP
args:
[
'-m',
'ss-local',
'-s',
'-s 127.0.0.1 -p 6500 -b 0.0.0.0 -l 1080 -m chacha20-ietf-poly1305 -k xxx',
'-x',
'-e',
'kcpclient',
'-k',
'-r YOUR_IP:PORT -l :6500 --mode fast2 --key xxx --rcvwnd 1024',
]