OPNsense Forum

English Forums => General Discussion => Topic started by: walkerx on April 07, 2022, 08:02:11 PM

Title: GeoIP Setup - help needed
Post by: walkerx on April 07, 2022, 08:02:11 PM
Hi,

I'm following the instructions to set this up using the latest version of OpnSense but when go to maxmind to create the licence key, how do i know which version to configure for.

I've looked on OpnSense and can't see any details regarding the version number
Title: Re: GeoIP Setup - help needed
Post by: cookiemonster on April 07, 2022, 11:01:46 PM
Geolite2 free unless you're buying a subscription, in which case is the one you're paying for.
Title: Re: GeoIP Setup - help needed
Post by: walkerx on April 08, 2022, 06:40:26 PM
cheers

so once got all in place

do i just need to create firewall rules to block to certain locations?
Title: Re: GeoIP Setup - help needed
Post by: egenolf on April 09, 2022, 10:09:16 PM
yes, you have to enter the string in GEOip in aliases
https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=YOURKEY&suffix=zip

and then Select the Countrys
and then use it in the Firewall as Rule