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

     1  `direct` outbound send requests directly.
     2  
     3  ### Structure
     4  
     5  ```json
     6  {
     7    "type": "direct",
     8    "tag": "direct-out",
     9    
    10    "override_address": "1.0.0.1",
    11    "override_port": 53,
    12    "proxy_protocol": 0,
    13    
    14    ... // Dial Fields
    15  }
    16  ```
    17  
    18  ### Fields
    19  
    20  #### override_address
    21  
    22  Override the connection destination address.
    23  
    24  #### override_port
    25  
    26  Override the connection destination port.
    27  
    28  #### proxy_protocol
    29  
    30  Write [Proxy Protocol](https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) in the connection header.
    31  
    32  Protocol value can be `1` or `2`.
    33  
    34  ### Dial Fields
    35  
    36  See [Dial Fields](/configuration/shared/dial) for details.