Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 325 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 325 Bytes

fail2ban-geo

Block any IP who does not match the country code pattern

  • Define your own pattern in jail.conf
  • Extra logging: ip, country code and iptable command

To install linux

  • Install fail2ban and geoip like:

    apt-get install fail2ban geoip-database