Compare commits

...

2 commits

Author SHA1 Message Date
mhsanaei
e4301f8d93
fail2ban - allports 2024-12-19 22:49:25 +01:00
mhsanaei
c6586f8df2
fix typo 2024-12-19 14:53:09 +01:00

View file

@ -1310,7 +1310,7 @@ EOF
cat << EOF > /etc/fail2ban/action.d/3x-ipl.conf
[INCLUDES]
before = iptables-common.conf
before = iptables-allports.conf
[Definition]
actionstart = <iptables> -N f2b-<name>
@ -1358,8 +1358,8 @@ iplimit_main() {
echo -e "${green}\t2.${plain} Change Ban Duration"
echo -e "${green}\t3.${plain} Unban Everyone"
echo -e "${green}\t4.${plain} Ban Logs"
echo -e "${green}\t5.${plain} Unban an IP Address"
echo -e "${green}\t6.${plain} Ban an IP Address"
echo -e "${green}\t5.${plain} Ban an IP Address"
echo -e "${green}\t6.${plain} Unban an IP Address"
echo -e "${green}\t7.${plain} Real-Time Logs"
echo -e "${green}\t8.${plain} Service Status"
echo -e "${green}\t9.${plain} Service Restart"