sing-box/docs/configuration/outbound/direct.md
2023-12-21 15:24:05 +08:00

612 B

direct outbound send requests directly.

Structure

{
  "type": "direct",
  "tag": "direct-out",
  
  "override_address": "1.0.0.1",
  "override_port": 53,
  "proxy_protocol": 0,
  
  ... // Dial Fields
}

Fields

override_address

Override the connection destination address.

override_port

Override the connection destination port.

proxy_protocol

Write Proxy Protocol in the connection header.

Protocol value can be 1 or 2.

Dial Fields

See Dial Fields for details.