VXVX Docs

AnyTLS

AnytlsServerConfig 与 AnytlsClientConfig

AnyTLS 多路复用 TLS 隧道协议。Proto:protos/proto/vx/proxy/anytls/anytls.proto

通常配合 TLSWebSocket 传输使用。

AnytlsServerConfig

users

允许的用户;认证密码在 secret

{
  "@type": "type.googleapis.com/vx.proxy.anytls.AnytlsServerConfig",
  "users": [{ "secret": "your-password" }]
}

AnytlsClientConfig

password
string

认证密码,与服务器 users[].secret 对应

idleSessionCheckInterval
uint32

空闲会话检查间隔(,默认 30)

idleSessionTimeout
uint32

会话空闲超过此时长后关闭(,默认 30)

minIdleSession
uint32

连接池保持的最小空闲会话数(默认 5)

{
  "@type": "type.googleapis.com/vx.proxy.anytls.AnytlsClientConfig",
  "password": "your-password",
  "idleSessionCheckInterval": 30,
  "idleSessionTimeout": 60,
  "minIdleSession": 4
}

相关

评论