mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
19 lines
597 B
TOML
19 lines
597 B
TOML
[[listen]]
|
||
protocol = "socks5"
|
||
host = "127.0.0.1"
|
||
port = 10800
|
||
|
||
|
||
[[dial]]
|
||
protocol = "trojans"
|
||
uuid = "a684455c-b14f-11ea-bf0d-42010aaa0003"
|
||
host = "/dev/shm/ws.sock" # 文件不需要实际存在,只需要 该目录存在,且 vs具有对应目录的权限
|
||
network = "unix" # 别忘了标network 为 unix (unix domain socket 的 golang的简称)
|
||
insecure = true
|
||
tls_type = "utls"
|
||
|
||
adv = "ws"
|
||
path = "/ohmygod_verysimple_is_very_simple"
|
||
early = true # websocket early data 功能 (即0-rtt)
|
||
#use_mux = true # 只需要客户端指明 use_mux 即可开启mux, 服务端自动适配.
|