From 127eaf69b619a4e0a53485666ad485a499edf333 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 16 Dec 2024 13:28:53 +0100 Subject: [PATCH] fail2ban - unban all without restart --- x-ui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-ui.sh b/x-ui.sh index cb5ac0996c..93811acbd0 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -1389,7 +1389,7 @@ iplimit_main() { 3) confirm "Proceed with Unbanning everyone from IP Limit jail?" "y" if [[ $? == 0 ]]; then - fail2ban-client reload --restart --unban 3x-ipl + fail2ban-client set 3x-ipl unban --all truncate -s 0 "${iplimit_banned_log_path}" echo -e "${green}All users Unbanned successfully.${plain}" iplimit_main