Find the country of the IP from your logs

First install the software:

yum install GeoIP GeoIP-data

Then:

geoiplookup 40.77.167.49

which gives:
GeoIP Country Edition: US, United States

Leave a Reply

Your email address will not be published. Required fields are marked *