Fail2ban/SSH: Unterschied zwischen den Versionen
Aus Foxwiki
K Textersetzung - „wikitable“ durch „table table-striped table-hover“ |
K Textersetzung - „ big"“ durch „"“ |
||
| Zeile 25: | Zeile 25: | ||
=== Dateien === | === Dateien === | ||
{| class="table table-striped table-hover options | {| class="table table-striped table-hover options" | ||
|- | |- | ||
! Datei !! Beschreibung | ! Datei !! Beschreibung | ||
Aktuelle Version vom 1. August 2026, 11:09 Uhr
Fail2ban/SSH - Beschreibung
Beschreibung
Konfiguration
- sshd.conf in /etc/fail2ban/jail.d/
[sshd]
enabled = true
backend = systemd
port = ssh
filter = sshd
logpath = %(sshd_log)s
maxretry = 5
findtime = 3m
bantime = 1h
action = iptables-multiport[name=sshd, port="ssh", chain="INPUT"]
- Dienst neu starten
sudo systemctl restart fail2ban
Dateien
| Datei | Beschreibung |
|---|---|
Anhang
Siehe auch
Dokumentation
Links
Projekt
Weblinks