OPNsense-Dashboard
OPNsense-Dashboard copied to clipboard
GeoIP Database download doesn't work
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.
Nice that you figured that out. I downloaded it on my personal computer and copied it over.
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