# GeoIP and the map

- The map shows where clients connect from. It uses **ipstack** (apilayer): enter the access key under Settings › GeoIP & map (`geoip_key`). GeoIP feeds only the map and the connection details; it never affects routing or access.
- You can use the same key as CrushMFT; then both **share its monthly quota**.
- **`geoip_monthly_limit`** (default 10,000 requests per calendar month, UTC) caps the lookups; set it to your plan's quota. 0 means no cap, and a notice says so. The count survives restarts (`geoip-cache.json`). Lookups are also limited to 10 per minute, with bursts of up to 20.
- **Privacy:** CrushBalance sends the public address of every client that keeps a connection open for 2 seconds or more to ipstack, one address per IPv6 /64, 10 per minute (bursts of up to 20) and at most `geoip_monthly_limit` per month. It also looks up the public addresses of endpoint hosts and, while `balancer_location` is empty, its own. Private and reserved addresses are never sent. Results are cached for 30 days.
- **`balancer_location`** (`lat,lon`, for example `50.11,8.68`) places the balancer on the map. When it is empty and GeoIP is on, the balancer looks up its own public address once a day. Endpoint `location` places an endpoint; by default its public address is looked up, and a private one is drawn at the balancer.
