mirror of
https://github.com/myvesta/vesta.git
synced 2024-11-23 05:50:37 -08:00
11 lines
385 B
Plaintext
11 lines
385 B
Plaintext
# Fail2Ban configuration file for vesta
|
|
|
|
[Definition]
|
|
|
|
actionstart = /usr/local/vesta/bin/v-add-firewall-chain <name>
|
|
actionstop = /usr/local/vesta/bin/v-delete-firewall-chain <name>
|
|
actioncheck = iptables -n -L INPUT | grep -q 'fail2ban-<name>[ \t]'
|
|
actionban = /usr/local/vesta/bin/v-add-firewall-ban <ip> <name>
|
|
actionunban = /usr/local/vesta/bin/v-delete-firewall-ban <ip> <name>
|
|
|