Skip to content

Commit

Permalink
fail2ban - unban all without restart
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Dec 16, 2024
1 parent 36b0289 commit 127eaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 127eaf6

Please sign in to comment.