Talk:HOWTO use geoiplookup

From Fail2ban
Jump to: navigation, search

Many attacks originate from China and countries alike. My website has no intended audience whatsoever in such a country and I would like to ban all IP traffic from a certain country. Adding countries to /etc/hosts.deny will only block a small part of that traffic since most connections are based on IP address only, not on domain names.

The instructions provided here will show you which from countries the attacks originated. As a next step it would be very welcome to provide instructions how to block all IP traffic from a certain countries using GeoIP.

See also Talk:Features.