Who can do it
Superusers only. You need a free MaxMind GeoLite2 account and license key.
The MaxMind settings and the database are shared by every website on this runsonUpendo installation. Detection is turned on or off for each website.
How it works
MaxMind GeoLite2 ASN maps each IP address to its network (ASN) and organization. A free visitor is flagged when the network is in the ASN list, or when its organization name contains one of the keywords as a whole word.
Steps
- Create a free GeoLite2 account at MaxMind and create a license key.
- Open the Image Optimizer and select Settings.
- Under VPN and data-center detection, find the MaxMind GeoLite2 ASN card.
- Enter the MaxMind account ID. Use digits only.
- Enter the MaxMind license key. Leave it blank to keep the current key.
- Review Hosting and VPN networks (ASNs) and Organization-name keywords.
- Select Save detection settings.
- Select Update now to download the database.
- Confirm that Database: shows Installed with its build date.
- Under Abuse protection for free conversions, turn on VPN and data-center detection, then select Save settings.
The license key is stored encrypted and is never shown again.
ASN list
Enter one ASN per line or separate them with commas, up to 2,000. Each ASN is a whole number from 1 to 4294967295. The defaults are well-known cloud, hosting, and VPN networks. Review them, because some also serve home or business customers. Select Restore defaults to return to the default list.
Keywords
Enter one keyword per line or separate them with commas, up to 50, each up to 40 characters. A network is flagged when a keyword appears in its organization name as a whole word or as one part of a joined name. For example, "colo" matches "Colo" and "ColoCrossing" but not "Colombia". Keywords of several words, such as "data center", must appear in that order. Upper and lower case are the same. Select Restore defaults to return to the default keywords.
Updates
- A runsonUpendo scheduled task updates the database once a day.
- Update now can be used once an hour, because MaxMind limits downloads. Save your changes before updating.
- Last update: shows when the last update ran and its result.
- If MaxMind cannot be reached, the current database is still used.
Clear the license key
Select Clear license key, then confirm. The database stops updating, but the copy already downloaded is still used. This cannot be undone.
Attribution
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com. The module shows this attribution on the Settings and Reports tabs. Keep it visible to meet MaxMind's license terms.