sing-box/docs/configuration/route/geoip.md
2023-12-18 22:25:54 +08:00

702 B

icon
material/delete-clock

!!! failure "Deprecated in sing-box 1.8.0"

GeoIP is deprecated and may be removed in the future, check [Migration](/migration/#migrate-geoip-to-rule-sets).

Structure

{
  "route": {
    "geoip": {
      "path": "",
      "download_url": "",
      "download_detour": ""
    }
  }
}

Fields

path

The path to the sing-geoip database.

geoip.db will be used if empty.

download_url

The download URL of the sing-geoip database.

Default is https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db.

download_detour

The tag of the outbound to download the database.

Default outbound will be used if empty.