-
Notifications
You must be signed in to change notification settings - Fork 0
fail2ban
wifiBlocker EUROPE edited this page Jun 18, 2026
·
4 revisions
-
Install fail2ban
-
Edit
/etc/fail2ban/jail.local
[DEFAULT]
bantime = 24h
findtime = 10m
maxretry = 5
ignoreip = a.b.c.d/24 - for your NW
[sshd]
enabled = true
port = ssh
logpath = %(sshd_log)s
backend = %(sshd_backend)s
mode = aggressive
sudo systemctl restart fail2ban
sudo systemctl status fail2ban
sudo fail2ban-client status
sudo fail2ban-client status sshd
cat /var/log/auth.log | grep -i invalid
Contact: office@2transfer.eu
Copyright © IBlocker.eu project. Proudly powered by Open Source software. Copyright Notice | Terms of Service | Privacy Policy
© Design: www.iblocker.eu