github.com/sagernet/sing-box@v1.9.0-rc.20/docs/configuration/outbound/vless.md (about)

     1  ### Structure
     2  
     3  ```json
     4  {
     5    "type": "vless",
     6    "tag": "vless-out",
     7    
     8    "server": "127.0.0.1",
     9    "server_port": 1080,
    10    "uuid": "bf000d23-0752-40b4-affe-68f7707a9661",
    11    "flow": "xtls-rprx-vision",
    12    "network": "tcp",
    13    "tls": {},
    14    "packet_encoding": "",
    15    "multiplex": {},
    16    "transport": {},
    17  
    18    ... // Dial Fields
    19  }
    20  ```
    21  
    22  ### Fields
    23  
    24  #### server
    25  
    26  ==Required==
    27  
    28  The server address.
    29  
    30  #### server_port
    31  
    32  ==Required==
    33  
    34  The server port.
    35  
    36  #### uuid
    37  
    38  ==Required==
    39  
    40  VLESS user id.
    41  
    42  #### flow
    43  
    44  VLESS Sub-protocol.
    45  
    46  Available values:
    47  
    48  * `xtls-rprx-vision`
    49  
    50  #### network
    51  
    52  Enabled network
    53  
    54  One of `tcp` `udp`.
    55  
    56  Both is enabled by default.
    57  
    58  #### tls
    59  
    60  TLS configuration, see [TLS](/configuration/shared/tls/#outbound).
    61  
    62  #### packet_encoding
    63  
    64  UDP packet encoding, xudp is used by default.
    65  
    66  | Encoding   | Description           |
    67  |------------|-----------------------|
    68  | (none)     | Disabled              |
    69  | packetaddr | Supported by v2ray 5+ |
    70  | xudp       | Supported by xray     |
    71  
    72  #### multiplex
    73  
    74  See [Multiplex](/configuration/shared/multiplex#outbound) for details.
    75  
    76  #### transport
    77  
    78  V2Ray Transport configuration, see [V2Ray Transport](/configuration/shared/v2ray-transport/).
    79  
    80  ### Dial Fields
    81  
    82  See [Dial Fields](/configuration/shared/dial/) for details.