mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-24 17:41:29 +00:00
49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
---
|
|
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
|
|
|
|
```json
|
|
{
|
|
"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](/configuration/shared/dial/) for details.
|