sing-box/docs/configuration/outbound/direct.md
2022-08-31 13:42:30 +08:00

611 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.