github.com/sagernet/sing-box@v1.9.0-rc.20/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    "multiplex": {},
    19    "transport": {}
    20  }
    21  ```
    22  
    23  ### Listen Fields
    24  
    25  See [Listen Fields](/configuration/shared/listen/) for details.
    26  
    27  ### Fields
    28  
    29  #### users
    30  
    31  ==Required==
    32  
    33  VMess users.
    34  
    35  | Alter ID | Description             |
    36  |----------|-------------------------|
    37  | 0        | Disable legacy protocol |
    38  | > 0      | Enable legacy protocol  |
    39  
    40  !!! warning ""
    41  
    42      Legacy protocol support (VMess MD5 Authentication) is provided for compatibility purposes only, use of alterId > 1 is not recommended.
    43  
    44  #### tls
    45  
    46  TLS configuration, see [TLS](/configuration/shared/tls/#inbound).
    47  
    48  #### multiplex
    49  
    50  See [Multiplex](/configuration/shared/multiplex#inbound) for details.
    51  
    52  #### transport
    53  
    54  V2Ray Transport configuration, see [V2Ray Transport](/configuration/shared/v2ray-transport/).