GeoIP
GeoIP blocking
Purpose
Country-level allow/block using MaxMind or DB-IP MMDB plus Manager rules (GEOIP_BLOCK / GEOIP_ALLOW). Lookup API is admin-only.
Configuration
Manager security.geoip.* — see Manager Configuration. Agent may hold a local DB or pull via GET /api/v1/agent-geoip-database.
allow_on_lookup_failure fail-opens when lookup errors.
Operator path
- Load MMDB; enable GeoIP; restart Manager.
GET /api/v1/geoip/settings—database_statusshould beloaded(probe uses8.8.8.8).POST /api/v1/geoip/ruleswith 2-letter ISOcountry_codeandactionblockorallow.POST /api/v1/geoip/lookup{"ip":"203.0.113.10"}for an admin test.
Full API: GeoIP. Setup: GeoIP.
Verification
Rules list; Agent sync blocked_countries / allowed_countries; security logs after enforcement Agents apply policy.
Failure modes
503 lookup service missing; 400 non-ISO country; Agents stale if they cannot pull the DB.
Security
Not an unauthenticated geolocation API. MaxMind license key is a secret. Country blocks are coarse (NAT, CDNs, dual-use).
Limitations
No accuracy SLA. Not a commercial GeoIP Insights product.