From f0f97462ec6c91fdfe5388064499c724acb8e74f Mon Sep 17 00:00:00 2001 From: pdiogoantunes Date: Tue, 17 Apr 2018 11:07:29 +0200 Subject: [PATCH] ajout ban --- HowtoFail2Ban.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoFail2Ban.md b/HowtoFail2Ban.md index 1ce61a10..85e5ff6d 100644 --- a/HowtoFail2Ban.md +++ b/HowtoFail2Ban.md @@ -633,6 +633,12 @@ Pour mettre en whitelist certaines adresses IP, il faut utiliser le paramètre _ ignoreip = 127.0.0.1/8 192.0.2.42 ~~~ +### Comment bannir une ip manuellement ? + +~~~ +fail2ban-client set JAIL banip IP +~~~ + ### Erreur "fail2ban.actions.action: ERROR" avec jail au nom trop long Si le nom de votre jail dépasse 20 caractères, vous obtiendrez des erreurs du type :