github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/configuration/inbound/vmess.md (about)

     1  ### Structure
     2  
     3  ```json
     4  {
     5    "type": "vmess",
     6    "tag": "vmess-in",
     7  
     8    ... // Listen Fields
     9  
    10    "users": [
    11      {
    12        "name": "sekai",
    13        "uuid": "bf000d23-0752-40b4-affe-68f7707a9661",
    14        "alterId": 0
    15      }
    16    ],
    17    "tls": {},
    18    "transport": {}
    19  }
    20  ```
    21  
    22  ### Listen Fields
    23  
    24  See [Listen Fields](/configuration/shared/listen) for details.
    25  
    26  ### Fields
    27  
    28  #### users
    29  
    30  ==Required==
    31  
    32  VMess users.
    33  
    34  | Alter ID | Description             |
    35  |----------|-------------------------|
    36  | 0        | Disable legacy protocol |
    37  | > 0      | Enable legacy protocol  |
    38  
    39  !!! warning ""
    40  
    41      Legacy protocol support (VMess MD5 Authentication) is provided for compatibility purposes only, use of alterId > 1 is not recommended.
    42  
    43  #### tls
    44  
    45  TLS configuration, see [TLS](/configuration/shared/tls/#inbound).
    46  
    47  #### transport
    48  
    49  V2Ray Transport configuration, see [V2Ray Transport](/configuration/shared/v2ray-transport).