-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathsocks_through_wss_vmess.yaml
33 lines (33 loc) · 1.09 KB
/
socks_through_wss_vmess.yaml
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
# A SOCKS5 server that forwards connections through a VMess WSS proxy.
- address: 127.0.0.1:5443
transport: tcp
protocol:
type: socks
username: secretuser
password: secretpass
rules:
# Directly connect to 192.168.*
- mask: 192.168.0.0/16
action: allow
client_proxy: direct
# Forward all other connection requests through a Vmess WSS server.
- mask: 0.0.0.0/0
action: allow
client_proxy:
- address: 127.0.0.1:1234
protocol:
type: tls
# Set to false to disable TLS verification, if, for example, the upstream server
# uses a self-signed certificate
verify: true
protocol:
type: ws
# The path to the websocket server
matching_path: /ws
protocol:
type: vmess
cipher: aes-128-gcm
user_id: b0e80a62-8a51-47f0-91f1-f0f7faf8d9d4
# this defaults to true to enabled AEAD mode. Set to false to switch back
# legacy mode.
force_aead: true