Skip to content

themchn/fail2ban_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

fail2ban_setup

My jails and actions for banning IPs on my virtual machines.

The jails and pretty self explanatory and really didn't even need to be included but hey, there they are. If 5 failed login attempts occur within a 4 hour window the IP is banned for one hour. If an IP is banned twice within 24 hours then it is added to a permanent blacklist.

The action.d/ files handles the banning. Currently it just issues an ssh command to the server acting as the firewall to add the ip to one of two ipset lists depending on the jail triggered.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published