mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
fail2ban - unban fix
sorry for my mistake
This commit is contained in:
parent
e4301f8d93
commit
49295661fd
2
x-ui.sh
2
x-ui.sh
@ -1391,7 +1391,7 @@ iplimit_main() {
|
|||||||
3)
|
3)
|
||||||
confirm "Proceed with Unbanning everyone from IP Limit jail?" "y"
|
confirm "Proceed with Unbanning everyone from IP Limit jail?" "y"
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
systemctl restart fail2ban
|
fail2ban-client reload --restart --unban 3x-ipl
|
||||||
truncate -s 0 "${iplimit_banned_log_path}"
|
truncate -s 0 "${iplimit_banned_log_path}"
|
||||||
echo -e "${green}All users Unbanned successfully.${plain}"
|
echo -e "${green}All users Unbanned successfully.${plain}"
|
||||||
iplimit_main
|
iplimit_main
|
||||||
|
Loading…
Reference in New Issue
Block a user