VXVX Docs

Users

UserConfig — authentication accounts

Global user accounts are listed in ServerConfig.users (UserConfig[]). The same message can be attached per inbound in users.

Schema: protos/proto/vx/user/user.proto.

UserConfig

FieldTypeDescription
idstringUser identifier (used in routing usernames)
userLeveluint32Policy level for PolicyConfig userPolicyMap
secretstringShared secret / UUID depending on protocol

Example

{
  "users": [
    {
      "id": "alice",
      "userLevel": 0,
      "secret": "00000000-0000-0000-0000-000000000001"
    }
  ],
  "inbounds": [
    {
      "tag": "vless",
      "ports": [443],
      "users": [
        {
          "id": "alice",
          "userLevel": 0,
          "secret": "00000000-0000-0000-0000-000000000001"
        }
      ],
      "protocol": {
        "@type": "type.googleapis.com/vx.proxy.vless.VlessServerConfig"
      }
    }
  ]
}

Inbound-level users are added to all proxy handlers on that inbound. Global users apply across the server where the protocol supports a shared user store.

  • Router — match usernames
  • PolicyuserLevel → buffer and limits

Comments