mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 18:35:38 +08:00
1.1 KiB
1.1 KiB
icon |
---|
material/alert-decagram |
!!! quote "Changes in sing-box 1.11.0"
:material-alert-decagram: [override_address](#override_address)
:material-alert-decagram: [override_port](#override_port)
direct
outbound send requests directly.
Structure
{
"type": "direct",
"tag": "direct-out",
"override_address": "1.0.0.1",
"override_port": 53,
... // Dial Fields
}
Fields
override_address
!!! failure "Deprecated in sing-box 1.11.0"
Destination override fields are deprecated in sing-box 1.11.0 and will be removed in sing-box 1.13.0, see [Migration](/migration/#migrate-destination-override-fields-to-route-options).
Override the connection destination address.
override_port
!!! failure "Deprecated in sing-box 1.11.0"
Destination override fields are deprecated in sing-box 1.11.0 and will be removed in sing-box 1.13.0, see [Migration](/migration/#migrate-destination-override-fields-to-route-options).
Override the connection destination port.
Protocol value can be 1
or 2
.
Dial Fields
See Dial Fields for details.