From d9cb304863d8813cda91fd7231a7a60ffb5bed43 Mon Sep 17 00:00:00 2001 From: Ivan Zorin Date: Fri, 20 Dec 2024 16:51:24 +0300 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 8a70c5be..2c4285b7 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -1391,7 +1391,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