Skip to content

geoiplookup on iptables-multiport action with country code pattern

Notifications You must be signed in to change notification settings

onFocusAT/fail2ban-geo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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
    

About

geoiplookup on iptables-multiport action with country code pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published