From d804043a182dcb531cb5f6a49e2d1b93db7ec611 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Wed, 18 Dec 2024 13:23:32 +0100 Subject: [PATCH] fail2ban - bantime 30min --- x-ui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-ui.sh b/x-ui.sh index 9816f4a7c8..8a833ed53a 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -1278,8 +1278,8 @@ run_speedtest() { } create_iplimit_jails() { - # Use default bantime if not passed => 15 minutes - local bantime="${1:-15}" + # Use default bantime if not passed => 30 minutes + local bantime="${1:-30}" # Uncomment 'allowipv6 = auto' in fail2ban.conf sed -i 's/#allowipv6 = auto/allowipv6 = auto/g' /etc/fail2ban/fail2ban.conf