English
简体中文繁體中文EnglishРусскийفارسی

HomeSettings manualGeo data files

Geo data files

The Geo data on FlClash's Resources page: what GEOIP and GEOSITE rules rely on, how to set the auto-update interval, what to do when an update fails, when to use Geo low-memory mode, and custom sources.

What GEOIP and GEOSITE rely on

Profiles often contain rules like these:

Example rules
- GEOSITE,cn,DIRECT
- GEOIP,CN,DIRECT
- MATCH,Proxy

GEOSITE,cn looks up a list of domains that belong to China, and GEOIP,CN a database of IP ranges in China. Those files are the Geo data on FlClash's Resources page. When the data gets old, new sites and IP ranges are routed wrongly.

A globe: GeoIP data is a map of which country each IP belongs to
A globe: GeoIP data is a map of which country each IP belongs to Henk Caspers/Naturalis Biodiversity Center, CC BY-SA 3.0

Updating

  • The Resources page can update by hand; each file reports "updated", or "already up to date" if nothing changed.
  • You can set an auto-update interval, which must be greater than 0. Once a day is plenty.
  • Updating downloads from the internet too. If the download address needs the proxy to reach, start the proxy before updating.

Geo low-memory mode

The full GeoSite data takes noticeable memory once loaded. Geo low-memory mode reads it more frugally, suiting old phones with little RAM and router-like devices. Lookups are a little slower, not noticeable in daily use.

Custom sources

The Resources page has a Custom entry for other GeoIP and GeoSite addresses. Only use sources you trust: this data decides which traffic goes direct, and tampered data can expose traffic that should have gone through the proxy.

Rules did not change after updating Geo data?

Existing connections are not re-evaluated. Close the connections involved or restart the proxy, then check again.

What is ASN?

Rules also offer IP-ASN, matching by the network operator's number the IP belongs to, which also relies on the data files in Resources.

NextRequests page

Related settings

On this page: FlClash Geo data, FlClash GeoIP update, FlClash GeoSite