13 lines
462 B
Django/Jinja
13 lines
462 B
Django/Jinja
[Definition]
|
|
actionstart =
|
|
actionstop =
|
|
actioncheck =
|
|
|
|
actionban = sudo -u fail2forward ssh -i ~fail2forward/.ssh/id_rsa -o BatchMode=yes -o ConnectTimeout=5 -o ServerAliveInterval=5 <forward_user>@<forward_host> ban <ip>
|
|
|
|
actionunban = sudo -u fail2forward ssh -i ~fail2forward/.ssh/id_rsa -o BatchMode=yes -o ConnectTimeout=5 -o ServerAliveInterval=5 <forward_user>@<forward_host> unban <ip>
|
|
|
|
[Init]
|
|
forward_host = animeistrash.org
|
|
forward_user = fail2forward
|