Files
v2ray_simple/examples/trojan_ws_unix.client.toml
2022-12-27 19:47:14 +08:00

19 lines
597 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[[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, 服务端自动适配.