Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-12-16 15:28:53 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-12-16 15:28:53 +0300
commit127eaf69b619a4e0a53485666ad485a499edf333 (patch)
tree9f02b080fce6d06636aa936e4ef71881d809de8f
parent36b0289bc659b2cc5505bfb2f0a8b9c45d21434d (diff)
fail2ban - unban all without restart
-rw-r--r--x-ui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/x-ui.sh b/x-ui.sh
index cb5ac099..93811acb 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