OPNsense 25.1.7_4-amd64
Can I use the other geoip's url but not MaxMind?
When I use the other geoip's url, the log show:
geoip update failed : HTTPSConnectionPool(host='*****', port=****): Max retries exceeded with url: *****/download/geoip.zip (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2e0a2bfac90>: Failed to establish a new connection: [Errno 61] Connection refused'))
Only geolite as far as I know. They (MaxMind) have a licencing regime and only have one free offering. You can only get what that gives. Unless of course you go for the non-free ones.
https://www.maxmind.com/en/geolite-free-ip-geolocation-data
I want to use the geoip integrated by myself and generate urls in my computer for other programs to use
But as you said, Opnsense can only use MaxMind.
Is there any plan to use geoip that is not MaxMind?
>? I want to use the geoip integrated by myself and generate urls in my computer for other programs to use
The url for maxmind has a section for developers. By looking at that documentation, you could get to understand how to interact programatically with their database(s). They provide APIs.
You could use a host override in Unbound to point www.maxmind.com to your own server.
Quote from: cookiemonster on June 06, 2025, 10:09:27 AM>? I want to use the geoip integrated by myself and generate urls in my computer for other programs to use
The url for maxmind has a section for developers. By looking at that documentation, you could get to understand how to interact programatically with their database(s). They provide APIs.
Yes. I have created the corresponding geoip file for myself and generated the url through the service on my computer, but Opnsense cannot be used. The error log is:
geoip update failed : HTTPSConnectionPool(host='*****', port=****): Max retries exceeded with url: *****/download/geoip.zip (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x2e0a2bfac90>: Failed to establish a new connection: [Errno 61] Connection refused'))
perhaps you can revisit the manual for MaxMind for OPNSense https://docs.opnsense.org/manual/how-tos/maxmind_geo_ip.html
Is that how you have done it, and how and where is this attempt made?
The specific error message does not seem to point to a logical error in the structure of the ZIP file or the content of the maps contained in it, but rather to the loading of the ZIP file itself.
I would guess that there could be a problem with the certificate of the web server (self-signed certificate?) or that the URL points to the external WAN IP of OpnSense itself and NAT reflection is not working as expected.