You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
388 B
9 lines
388 B
# Fail2Ban configuration file for hestia
|
|
|
|
[Definition]
|
|
|
|
actionstart = /usr/local/hestia/bin/v-add-firewall-chain <name>
|
|
actionstop = /usr/local/hestia/bin/v-delete-firewall-chain <name>
|
|
actioncheck = iptables -n -L INPUT | grep -q 'fail2ban-<name>[ \t]'
|
|
actionban = /usr/local/hestia/bin/v-add-firewall-ban <ip> <name>
|
|
actionunban = /usr/local/hestia/bin/v-delete-firewall-ban <ip> <name> |