bsmithio / OPNsense-Dashboard

A functional and useful dashboard for OPNsense that utilizes InfluxDB, Grafana, Graylog, and Telegraf.
423 stars 56 forks source link

GeoIP Database download doesn't work #62

Open alexwmaustin opened 3 months ago

alexwmaustin commented 3 months ago

The GeoIP curl command to download the database wasn't working for me at all.

I did some looking and found the solution. Looking here the curl command has to look like curl -O -J -L -u YOUR_ACCOUNT_ID:YOUR_LICENSE_KEY 'https://download.maxmind.com/geoip/databases/GeoLite2-Country/download?suffix=tar.gz' -o GeoLite2-Country.tar.gz

With your account_id being available at MaxMind, Login click the "My Account" button at the top and "Account ID" will be in the drop down.

This allowed me to curl the database properly, hope this helps.

MrFinchMkV commented 3 months ago

Nice that you figured that out. I downloaded it on my personal computer and copied it over.

FeRChImoNdE commented 2 months ago

Switched curl for wget

wget -O GeoLite2-Country.tar.gz "https://download.maxmind.com/..." <- the same URL that's on the tutorial, including your LICENSE_KEY

Lot easier than curl IMHO