Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

How do I enable country and ASN data in Aegisify WAF (Geo/ASN provider)?

Country and network (ASN) blocking need to know where a request comes from. Aegisify WAF does not ship its own location database; instead, you choose a Geo / ASN provider. The setting is in Aegisify WAF → Abuse & Bots → Source and Behavioral Intelligence (Pro).

Provider options

  • None (default): country and ASN blocks are inactive.
  • Cloudflare headers (country only): if your site is behind Cloudflare, the WAF reads the visitor country that Cloudflare adds to each request. This provides country data but not ASN.
  • MaxMind MMDB (PHP extension): uses a MaxMind database file on your server through the PHP MaxMind extension. This can provide country and ASN data, depending on the database you install.

Which to choose

  • Behind Cloudflare and only need countries: use Cloudflare headers. It is simple and has no extra files.
  • Need ASN blocking or not on Cloudflare: use MaxMind, and set the MaxMind MMDB path.

Important safety notes

Country, ASN, VPN, shared-hosting, and mobile-carrier networks all contain legitimate users. Location data is also approximate. Review logs first, and use narrow blocks.

After choosing a provider

Configure country blocks or ASN blocks in the same section. Without a provider, those lists have no effect.

Related: Progressive challenge with GeoIP/ASN intelligence.

2026-12-01T03:52:02+00:00January 12th, 2026||

Find this article interesting, please share.