Azurel
Silver Pleskian
I want create two Jails in Fail2ban with same action
First Jail working fine. Save second jail I got a error message
I changed name="default" to name="custom" and saved, but nothing is banned. So changing the name was fine or is this rule in iptables-allports undefined?
iptables-allports[chain="INPUT", name="default", port="ssh", protocol="tcp", blocktype="REJECT --reject-with icmp-port-unreachable", returntype="RETURN", lockingopt="-w", iptables="iptables <lockingopt>"]
First Jail working fine. Save second jail I got a error message
Error: f2bmng failed: ERROR:__main__:Iptables action with name="default" already exists in jail my_custom_jail_1
I changed name="default" to name="custom" and saved, but nothing is banned. So changing the name was fine or is this rule in iptables-allports undefined?