2022-07-08 12:15:45 +00:00
|
|
|
### Structure
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"route": {
|
|
|
|
"geoip": {},
|
|
|
|
"geosite": {},
|
|
|
|
"rules": [],
|
2022-07-10 08:41:38 +00:00
|
|
|
"final": "",
|
|
|
|
"auto_detect_interface": false
|
2022-07-08 12:15:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Fields
|
|
|
|
|
|
|
|
| Key | Format |
|
|
|
|
|-----------|------------------------------|
|
|
|
|
| `geoip` | [GeoIP](./geoip) |
|
|
|
|
| `geosite` | [Geosite](./geosite) |
|
|
|
|
| `rules` | List of [Route Rule](./rule) |
|
|
|
|
|
|
|
|
#### final
|
|
|
|
|
2022-07-10 08:41:38 +00:00
|
|
|
Default outbound tag. the first outbound will be used if empty.
|
|
|
|
|
|
|
|
#### auto_detect_interface
|
|
|
|
|
|
|
|
!!! error ""
|
|
|
|
|
2022-07-13 11:01:20 +00:00
|
|
|
Linux and Windows only
|
2022-07-10 08:41:38 +00:00
|
|
|
|
|
|
|
Bind outbound connections to the default NIC by default to prevent routing loops under Tun.
|
|
|
|
|
|
|
|
Takes no effect if `outbound.bind_interface` is set.
|