Skip to content

Commit

Permalink
Update installf2b.sh
Browse files Browse the repository at this point in the history
On debian12 or above,there should change  
backend = auto 
to 
backend = systemd 
in /etc/fail2ban/jail.local

fail2ban/fail2ban#3292
  • Loading branch information
zazitufu committed Feb 21, 2024
1 parent 60ff591 commit 52e236d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installf2b.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ ignoreip = 127.0.0.1/8 ::1 $ignoreip
bantime = -1
findtime = 60m
maxretry = 4
backend = systemd
[sshd]
enabled = true
port = ssh,$sshport
Expand Down

0 comments on commit 52e236d

Please sign in to comment.