GeoIP not working

Started by buckey96, January 24, 2026, 09:30:05 PM

Previous topic - Next topic
I have been unable to get Maxmind, nor IPinfo to work with the alias.
This is the error I get when I use any service, not just the 2 listed above
"In order to use GeoIP, you need to configure a source in the GeoIP settings tab"

I have followed all the instructions for both on how to include the license key and it downloads fine when I go to the URL, but gives me that error everytime when I hit apply.

I already have the alias setup and changed the table size to accomidate the larger table, still no luck.

I'm on 25.7.11 and have been reading all the documentation with zero luck

Quote from: buckey96 on January 24, 2026, 09:30:05 PMI have been unable to get Maxmind, nor IPinfo to work with the alias.
This is the error I get when I use any service, not just the 2 listed above
"In order to use GeoIP, you need to configure a source in the GeoIP settings tab"
Steal Brainrot Game
I have followed all the instructions for both on how to include the license key and it downloads fine when I go to the URL, but gives me that error everytime when I hit apply.

I already have the alias setup and changed the table size to accomidate the larger table, still no luck.

I'm on 25.7.11 and have been reading all the documentation with zero luck
That error usually means the GeoIP source itself was never actually selected, not that the download failed. In GeoIP → Settings, you must explicitly choose MaxMind or IPinfo as the active source and save before applying aliases. Just adding the license key and seeing the file download isn't enough for the service to register.

That makes sense, but I don't have the ability to select the source.

This seems to differ in business and community versions. In the community version, you have to acquire a license yourself and enter the corresponding URL with a token, whereas in the business version, you only have to choose which one you want.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Quote from: meyergru on January 26, 2026, 11:24:58 PMThis seems to differ in business and community versions. In the community version, you have to acquire a license yourself and enter the corresponding URL with a token, whereas in the business version, you only have to choose which one you want.

So I've tried it multiple different ways and can not get it to download.  With both MaxMind and IPinfo and a number of open source databases. None will download

@buckey96 my link looks like this:

https://ipinfo.io/data/ipinfo_lite.csv.gz?token=MYTOKEN
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

January 26, 2026, 11:59:50 PM #6 Last Edit: January 27, 2026, 12:10:43 AM by buckey96
Quote from: Patrick M. Hausen on January 26, 2026, 11:47:14 PM@buckey96 my link looks like this:

https://ipinfo.io/data/ipinfo_lite.csv.gz?token=MYTOKEN

These are my two links.  I've changed the token to x's, but you guys will get theidea

https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=xxxxxx_xxxxxxxxxxxxxxxx_mmk&suffix=zip

https://ipinfo.io/data/ipinfo_lite.csv.gz?_src=frontend&token=xxxxxxxxxxxxxxcd

I even tried this (from Reddit)
1. Change your Geo Aliases to Host aliases temporarily
2. Apply Changes
3. In GeoIP Settings use the new format URL https://<accountID>:<license key>@download.maxmind.com/geoip/databases/GeoLite2-Country-CSV/download?suffix=zip
4. Apply
5. Change your Alias back from Host to GeoIP
6. Apply

Worked for some and not others

What I tried to express: remove the "_src=" parameter from the IPinfo URL to make it match mine and try again. This URL works without a hitch here. I have no idea what this "_src=" thingy is good for.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on January 27, 2026, 12:19:09 AMWhat I tried to express: remove the "_src=" parameter from the IPinfo URL to make it match mine and try again. This URL works without a hitch here. I have no idea what this "_src=" thingy is good for.
Thanks, I tried without the "src" and matched your URL and still no luck.

I even tried suggestions from this reddit post
https://www.reddit.com/r/opnsense/comments/1lr6yu5/maxmind_no_longer_provide_geolite_database/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

and got the same error

Can you connect to ipinfo.io via HTTPS?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on January 27, 2026, 12:36:09 AMCan you connect to ipinfo.io via HTTPS?

Yes. And I can download all the different zip files from the links with zero problems. I'm absolutely stymied on how to get this to work.
I've also tried changing GEOIP to host and then going through everything
I've changed IPV4 & IPV6 to just IPV4
I've deleted the alias and tried to just put the URL in, with no luck on any of these

Hi,

I work for IPinfo. We have rate limits, but I am not 100% sure if this is affecting your ability to download our database. I am really not sure what we can do here. If you can download the database directly, you should be able to download it via OPNsense as well. Also, you mentioned you switched IP addresses, which should also reset your rate limit.

— Abdullah | DevRel, IPinfo


@buckey96 - I took the opportunty to change from maxm to ipinfo with this. I was meaning to look into anyway.
I had at of trouble getting the download but solved it and I think what is happening is that you get the error because like me at first, your download hasn't succeeded yet.
First, the ipinfo download url for OPN has to be like Patrick's i.e. https://ipinfo.io/data/ipinfo_lite.csv.gz?token=YOURTOKEN
Second, you need to get the download to work before you can use the alias. Otherwise the error. Here is where I noticed no errror but no update since last for me ie. yesterday's from maxmind.
To force it I had to, on the "Alias" page/tab untick it to disable & apply at the bottom. Tick to enable & apply again.
Try that and see but have a little patience. It download about what 20 or more MB file, uncompress it and save before it shows a new timestamp.

scratch that for now. Even I am not sure.