OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: guest34985 on October 03, 2022, 03:36:07 PM

Title: OPNsense 22.7.4 - ntopng with GeoIP support
Post by: guest34985 on October 03, 2022, 03:36:07 PM
Hi everyone,

I just switched to OPNSense and ran into an issue with the ntopng plugin lacking GeoIP support. My OPNsense firewall itself has GeoIP support (Maxmind account etc.), but ntopng does not seem to use it.

What can I do to get GeoIP support for ntopng? The instructions I found on the internet (e.g. https://github.com/ntop/ntopng/blob/dev/doc/README.geolocation.md) did not seem to fit the case.

After some time I realized that the package came with an info on GeoIP support. It basically suggested to run the ntopng-geoip2update.sh script after the installation to get it. But it fails, because of a download error:

root@OPNsense:~ # ntopng-geoip2update.sh
Fetching GeoLite2-City fetch: https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz:
No address record GeoLite2-City.tar.gz download failed

So maybe this can be fixed in an upcoming release. Or is there a workaround already?

Best regards
Title: Re: OPNsense 22.7.4 - ntopng with GeoIP support
Post by: jkemp on October 11, 2022, 12:45:34 PM
Hello,

I am also looking to find a solution for this. When 'ntopng-geoip2update.sh' is run, not only does it fail, it is only trying to download 'GeoLite-City'.

Hope there is a fix for this. There is no map at all. In the new 5.5 version it shows a 'tab' on the left-hand side for Maps just under the  Hosts tab.