From 9e0ca016d06f94419b96ba8c396d7ebb5f773dcd Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 16 May 2022 19:39:04 +0200 Subject: [PATCH] modules/fail2ban: DROP --- modules/fail2ban/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/fail2ban/default.nix b/modules/fail2ban/default.nix index 3b80851..54d9b01 100644 --- a/modules/fail2ban/default.nix +++ b/modules/fail2ban/default.nix @@ -2,6 +2,7 @@ { services.fail2ban = { enable = true; + banaction = "iptables-multiport[blocktype=DROP]"; jails.sshd = '' enabled = true port = 22