sing-box/docs/configuration/route/index.md
2022-07-13 22:41:21 +08:00

684 B

Structure

{
  "route": {
    "geoip": {},
    "geosite": {},
    "rules": [],
    "final": "",
    "auto_detect_interface": false
  }
}

Fields

Key Format
geoip GeoIP
geosite Geosite
rules List of Route Rule

final

Default outbound tag. the first outbound will be used if empty.

auto_detect_interface

!!! error ""

Linux and Windows only

Bind outbound connections to the default NIC by default to prevent routing loops under Tun.

Takes no effect if outbound.bind_interface is set.