FGM Wiki
Attachments
History
Blame
View Source
Documentation
About An Otter Wiki
Toggle dark mode
Login
Home
A - Z
Changelog
Menu
Domain Homepage
Git forge
Page Index
Docker
Maintenance
Mise à jours
Setup
Troubleshooting
Hardware
Disques Dures
Specs
Sauvegarde Et Restoration
Mailu
Nextcloud
Procédure De Sauvegarde Individuelles
Scripts de sauvegarde
Server
Custom scripts location
Fail2Ban
General
Mise à jours
Noms de domaine
Nvidia Card
Security
Setup
SMART
SSH
Syncing Content
Services Hng
Dokuwiki
Forgejo
Historique
Jellyfin
Mailu
Nextcloud
Onlyoffice
Openwebui
Readeck
Traefik
Home
Server
Fail2Ban
b61f5c
Commit
b61f5c
2026-01-20 11:17:53
theophile
: How to whitelist an IP adress
server/fail2ban.md
..
@@ 217,17 217,33 @@
## Troubleshooting
+
### Unban
+
Pour vérifier si une adresse a été ban, on a plusieurs possibilité:
```bash
less /var/log/fail2ban.log | grep YOUR_IP
```
-
### Unban
+
```bash
sudo fail2ban-client set THE_JAIL_NAME unbanip YOUR_IP
```
+
## Whitelist (to avoid ban in the first place)
+
+
Edit the `/etc/fail2ban/jail.local` `ignore_ip` field. Append at the end of the line your routers IP adress.
+
Then restart the fail2ban service:
+
+
```bash
+
sudo systemctl restart fail2ban
+
```
+
and check that it runs correctly:
+
+
```bash
+
systemctl status fail2ban
+
```
+
## Sources
- https://wiki.archlinux.org/title/Fail2ban
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9