update Fail2Ban.md

This commit is contained in:
ericgaspar 2020-04-24 17:48:47 +02:00
parent 5815df012a
commit ab6a2b71f1
2 changed files with 3 additions and 2 deletions

View file

@ -39,6 +39,7 @@ The following list is a compiled wishlist of applications that would be nice-to-
- [ERPnext](https://erpnext.com/download) / [github](https://github.com/frappe/erpnext) - [ERPnext](https://erpnext.com/download) / [github](https://github.com/frappe/erpnext)
- [EteSync](https://www.etesync.com/) / [github](https://github.com/etesync) - [EteSync](https://www.etesync.com/) / [github](https://github.com/etesync)
- [Epicyon](https://epicyon.net/) / [gitlab](https://gitlab.com/bashrc2/epicyon) - [Epicyon](https://epicyon.net/) / [gitlab](https://gitlab.com/bashrc2/epicyon)
- [erine.email](https://erine.email/) / [gitlab](https://gitlab.com/mdavranche/erine.email)
- [Ferdi server](https://github.com/getferdi/server) is the server to self host the data and configuration of the [ferdi](https://getferdi.com/) messaging aggregator client. - [Ferdi server](https://github.com/getferdi/server) is the server to self host the data and configuration of the [ferdi](https://getferdi.com/) messaging aggregator client.
- [FEX](http://fex.rus.uni-stuttgart.de/) - [FEX](http://fex.rus.uni-stuttgart.de/)
- [FitTrackee](https://github.com/SamR1/FitTrackee) - [FitTrackee](https://github.com/SamR1/FitTrackee)

View file

@ -8,7 +8,7 @@ In particular, **Fail2Ban** monitors `SSH` connection attempts. After 5 failed S
To unblock an IP address, you must first access your server by some means (for example from another IP address or from another internet connection than the banned one). To unblock an IP address, you must first access your server by some means (for example from another IP address or from another internet connection than the banned one).
Then, look at the **Fail2Bans log** to identify in which `jail` the IP adress has been banned: Then, look at the **Fail2Bans log** to identify in which `jail` the IP address has been banned:
```bash ```bash
sudo tail /var/log/fail2ban.log sudo tail /var/log/fail2ban.log
@ -30,7 +30,7 @@ sudo fail2ban-client set sshd unbanip 11.22.33.44
sudo fail2ban-client set recidive unbanip 11.22.33.44 sudo fail2ban-client set recidive unbanip 11.22.33.44
``` ```
## Whitelist an IP adress ## Whitelist an IP address
If you dont want a "legitimate" IP address to be blocked by **YunoHost** anymore, then you have to fill it in the whitelist of the `jail` configuration file. If you dont want a "legitimate" IP address to be blocked by **YunoHost** anymore, then you have to fill it in the whitelist of the `jail` configuration file.