VXVX Docs

VMess

VmessServerConfig 与 VmessClientConfig

Proto:protos/proto/vx/proxy/vmess/vmess.proto

VmessServerConfig

accounts

允许的用户(iduserLevelsecret

secureEncryptionOnly
bool

拒绝旧版加密

{
  "@type": "type.googleapis.com/vx.proxy.vmess.VmessServerConfig",
  "secureEncryptionOnly": true,
  "accounts": [{ "id": "uuid-here", "userLevel": 0 }]
}

VmessClientConfig

id
string

类似于密码,可以是任意string

security

见下方

alterId
uint32

旧版 alterId(通常为 0)

SecurityType

UNKNOWN
0
LEGACY
1
AUTO
2
AES128_GCM
3
CHACHA20_POLY1305
4
NONE
5
ZERO
6

JSON 中使用枚举名(例如 "security": "CHACHA20_POLY1305")。

相关

评论