OPNsense Forum

English Forums => 21.7 Legacy Series => Topic started by: dcol on August 05, 2021, 08:54:23 pm

Title: GeoIP2 questions
Post by: dcol on August 05, 2021, 08:54:23 pm
I now have a subscription to GeoIP2. I ran GeoLite2 previously and used the following URL:
https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=<MY KEY>&suffix=zip

I assume I now use:
https://download.maxmind.com/app/geoip_download?edition_id=GeoIP2-Country-CSV&license_key=<MY KEY>&suffix=zip

I cannot tell if it is working since I do not know how to force an update, or know how to apply a twice weekly update. I also assume that the alias cron job does the GeoIP2 update.

Are my assumptions correct?
Title: Re: GeoIP2 questions
Post by: errored out on August 12, 2021, 10:32:22 pm
The guide how to configure / setup geoip also include a method to test.
Title: Re: GeoIP2 questions
Post by: dcol on August 12, 2021, 10:49:28 pm
What guide? The only one I found was for GeoLite
Title: Re: GeoIP2 questions
Post by: XeroX on August 13, 2021, 12:56:29 pm
https://docs.opnsense.org/manual/how-tos/maxmind_geo_ip.html

There is no difference in testing. Its only a different database in background.
Title: Re: GeoIP2 questions
Post by: dcol on August 13, 2021, 05:25:15 pm
There is noting in that guide about testing. Also the link is for GeoLite. I have the paid version
Title: Re: GeoIP2 questions
Post by: errored out on August 13, 2021, 08:55:14 pm
For those who missed "how to test", from the guide https://docs.opnsense.org/manual/how-tos/maxmind_geo_ip.html?highlight=geoip

"You can check that you have done it correctly by just pasting the link into a browser, it should download the zip file."