瀏覽代碼

fail2ban - unban all without restart

MHSanaei 3 月之前
父節點
當前提交
127eaf69b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      x-ui.sh

+ 1 - 1
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