Traffic control
GeoIP and geo rules
Country and ASN controls with MaxMind MMDB databases.
Goal
Allow or deny traffic based on geography / ASN.
Prerequisites
- MaxMind
.mmdbfiles available to the Proxy (and documented Compose mount underdeploy/docker/geoip/). - Permission to manage geo rules in the console.
Steps
- Place
GeoLite2-Country.mmdband optionallyGeoLite2-ASN.mmdbwhere Proxy config expects them. - Restart Proxy if paths changed.
- Open Security → Geo (geo rules).
- Create allow/deny rules for countries or ASNs.
- Publish.
Usability
- Missing databases fail open—rules will not enforce until DBs load.
- Combine geo deny with logging policies to measure impact before hard blocks.
Verify
- From a known country IP (or test harness), confirm allow/deny.
- Check Proxy logs for GeoIP load errors at startup.