modules/fail2ban: DROP
This commit is contained in:
parent
7b290253e1
commit
9e0ca016d0
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
banaction = "iptables-multiport[blocktype=DROP]";
|
||||||
jails.sshd = ''
|
jails.sshd = ''
|
||||||
enabled = true
|
enabled = true
|
||||||
port = 22
|
port = 22
|
||||||
|
|
Loading…
Reference in a new issue