OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: peterwkc on December 13, 2024, 02:11:46 PM

Title: GeoIP Settings URL Error
Post by: peterwkc on December 13, 2024, 02:11:46 PM
Dear all forumer, I tried to setup GeoIP Blocklists but it say my source URL is not valid. I follow the documentation but could not figure it out why is wrong with the URL.

https://MyAccountID:LICENSE_KEY@download.maxmind.com/geoip/databases/GeoLite2-Country-CSV/download?suffix=zip

What is the correct URL?
Title: Re: GeoIP Settings URL Error
Post by: peterwkc on December 14, 2024, 01:23:12 PM
What is the correct URL format?
Title: Re: GeoIP Settings URL Error
Post by: DEC670airp414user on December 14, 2024, 01:53:37 PM
https://docs.opnsense.org/manual/how-tos/maxmind_geo_ip.html

https://AccountID:LicenseKey@download.maxmind.com/geoip/databases/GeoLite2-Country-CSV/download?suffix=zip

from the documentation


I can't get it to update on my BE box currently either...

if I copy and paste the download file into my browser.  it asks me again to login which is my account ID.  then license key as the password.   it then downloads the files.  but I can't get the firewall to update
Title: Re: GeoIP Settings URL Error
Post by: peterwkc on December 14, 2024, 02:17:37 PM
This is same as my URL format as stated in the documentation. Why?
Title: Re: GeoIP Settings URL Error
Post by: DEC670airp414user on December 14, 2024, 02:25:56 PM
the files did download.  you do have to enable a location to block under firewall.   then when you hit apply it down redownload and update the database.

it is working as designed

 Last updated
   2024-12-13T22:56:30    
Total number of ranges
   977737

I also noticed this https://docs.opnsense.org/manual/aliases.html
When using the Business Edition, you can leave the Url field empty so the firewall will download the database provided by us.
Title: Re: GeoIP Settings URL Error
Post by: peterwkc on December 19, 2024, 02:43:08 AM
Problem solved after register a new account.