When you choose MaxMind MMDB (PHP extension) as the Geo/ASN provider, Aegisify WAF needs to know where the MaxMind database file is stored. That location is the MaxMind MMDB path, set in Aegisify WAF → Abuse & Bots → Source and Behavioral Intelligence (Pro).
Requirements
- The MaxMind PHP extension must be installed and enabled on your server. Many shared hosts do not include it; ask your host or check your PHP configuration.
- A MaxMind database file (
.mmdb) for country or ASN data, downloaded from MaxMind under their license terms. - A server path readable by PHP, ideally outside the public web root so the file cannot be downloaded by visitors.
Setting it up
- Upload the
.mmdbfile to a private folder, for example/home/account/geoip/GeoLite2-ASN.mmdb. - Select MaxMind MMDB (PHP extension) as the provider.
- Enter the full file path in MaxMind MMDB path and save.
- Add country or ASN blocks and watch the logs to confirm lookups are working.
Keeping data current
IP-to-location data changes over time. Update the database file regularly (MaxMind publishes updates often), or schedule an update with your host.
Troubleshooting
If blocks have no effect, check that the extension is loaded, the path is correct, and PHP can read the file. Without a working provider, country and ASN lists are ignored rather than blocking everything.
Related: Geo/ASN provider, ASN blocking.
