sudo fail2ban-client set recidive bantime 36000 # 10 Hours bantime

This commit is contained in:
qo-op 2021-06-16 22:44:09 +02:00
parent 69466de916
commit 6a256e648b
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ do
# $USER ALL=(ALL:ALL) NOPASSWD:/usr/bin/fail2ban-client
sudo fail2ban-client add recidive 2>/dev/null 1>&2
sudo fail2ban-client start recidive
sudo fail2ban-client set recidive bantime 3600 # 1 Hour bantime
sudo fail2ban-client set recidive bantime 36000 # 10 Hour bantime
sudo fail2ban-client set recidive banip $ip
# Show ALL banned IP