Projects STRLCPY sing-box Files
🤬
70 lines | ISO-8859-1 | 1 KB

Route

Structure

{
  "route": {
    "geoip": {},
    "geosite": {},
    "ip_rules": [],
    "rules": [],
    "final": "",
    "auto_detect_interface": false,
    "override_android_vpn": false,
    "default_interface": "en0",
    "default_mark": 233
  }
}

Fields

KeyFormat
geoipGeoIP!!missing!!
geositeGeosite!!missing!!
ip_rulesList of IP Route Rule!!missing!!
rulesList of Route Rule!!missing!!

final

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

auto_detect_interface

!!! error ""

Only supported on Linux, Windows and macOS.

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

Takes no effect if outbound.bind_interface is set.

override_android_vpn

!!! error ""

Only supported on Android.

Accept Android VPN as upstream NIC when auto_detect_interface enabled.

default_interface

!!! error ""

Only supported on Linux, Windows and macOS.

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

Takes no effect if auto_detect_interface is set.

default_mark

!!! error ""

Only supported on Linux.

Set routing mark by default.

Takes no effect if outbound.routing_mark is set.

Please wait...
Page is in error, reload to recover