This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:fail2ban [2022/09/04 15:42] – oemb1905 | computing:fail2ban [2023/06/01 17:27] – oemb1905 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* **Jonathan Haack** | * **Jonathan Haack** | ||
* **Haack' | * **Haack' | ||
- | * **oemb1905@jonathanhaack.com** | + | * **oemb1905@jonathanhaack.com** |
------------------------------------------- | ------------------------------------------- | ||
Line 62: | Line 62: | ||
fail2ban-client set ssh unbanip 10.xx.15x.12x | fail2ban-client set ssh unbanip 10.xx.15x.12x | ||
fail2ban-client unban --all | fail2ban-client unban --all | ||
+ | |||
+ | Another method that does more than individual services, and instead zaps all records: | ||
+ | |||
+ | sudo systemctl stop fail2ban | ||
+ | sudo truncate -s 0 / | ||
+ | sudo rm / | ||
+ | sudo systemctl restart fail2ban | ||
--- // | --- // |