Access control using Fail2Ban and geoip

From munkjensen.net/wiki
Revision as of 13:12, 26 May 2017 by Admin (talk | contribs)

Geolookup

In order to do a geolookup from the command line, we have to get the GeoIP binary and database installed.

apt-get install geoip-bin geoip-database

Test it: geoiplookup 8.8.8.8 should give you GeoIP Country Edition: US, United States