VXVX Docs

Users

UserConfig — authentication accounts

This message is used in ServerConfig.users (UserConfig[]). It is also used in the users field of inbounds.

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

UserConfig

id
string

User identifier (used for routing usernames)

userLevel
uint32

Policy level for PolicyConfig userPolicyMap

secret
string

Password of arbitrary length

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 are added to all proxy handlers on every inbound.

  • Router — match usernames
  • PolicyuserLevel → buffers and limits

Comments

Advertisements on this site are provided by third parties. We do not review or control their content and provide no guarantee for the faithfulness of their content.