github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/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    "transport": {},
    16  
    17    ... // Dial Fields
    18  }
    19  ```
    20  
    21  ### Fields
    22  
    23  #### server
    24  
    25  ==Required==
    26  
    27  The server address.
    28  
    29  #### server_port
    30  
    31  ==Required==
    32  
    33  The server port.
    34  
    35  #### uuid
    36  
    37  ==Required==
    38  
    39  VLESS user id.
    40  
    41  #### flow
    42  
    43  VLESS Sub-protocol.
    44  
    45  Available values:
    46  
    47  * `xtls-rprx-vision`
    48  
    49  #### network
    50  
    51  Enabled network
    52  
    53  One of `tcp` `udp`.
    54  
    55  Both is enabled by default.
    56  
    57  #### tls
    58  
    59  TLS configuration, see [TLS](/configuration/shared/tls/#outbound).
    60  
    61  #### packet_encoding
    62  
    63  UDP packet encoding, xudp is used by default.
    64  
    65  | Encoding   | Description           |
    66  |------------|-----------------------|
    67  | (none)     | Disabled              |
    68  | packetaddr | Supported by v2ray 5+ |
    69  | xudp       | Supported by xray     |
    70  
    71  #### transport
    72  
    73  V2Ray Transport configuration, see [V2Ray Transport](/configuration/shared/v2ray-transport).
    74  
    75  ### Dial Fields
    76  
    77  See [Dial Fields](/configuration/shared/dial) for details.