Update README (#1648)

This commit is contained in:
quydang
2024-01-20 23:41:58 +07:00
committed by GitHub
parent a7bea936c5
commit ebaabf6150
2 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -872,7 +872,7 @@ create_iplimit_jails() {
# Use default bantime if not passed => 30 minutes
local bantime="${1:-30}"
# uncomment allowipv6 = auto in fail2ban.conf
# Uncomment 'allowipv6 = auto' in fail2ban.conf
sed -i 's/#allowipv6 = auto/allowipv6 = auto/g' /etc/fail2ban/fail2ban.conf
cat << EOF > /etc/fail2ban/jail.d/3x-ipl.conf
@@ -917,7 +917,7 @@ actionunban = <iptables> -D f2b-<name> -s <ip> -j <blocktype>
[Init]
EOF
echo -e "${green}Created Ip Limit jail files with a bantime of ${bantime} minutes.${plain}"
echo -e "${green}Ip Limit jail files created with a bantime of ${bantime} minutes.${plain}"
}
iplimit_remove_conflicts() {