diff --git a/systems/x86_64-linux/prefect/services/fail2ban.nix b/systems/x86_64-linux/prefect/services/fail2ban.nix index ae0bbc17..66389d9e 100644 --- a/systems/x86_64-linux/prefect/services/fail2ban.nix +++ b/systems/x86_64-linux/prefect/services/fail2ban.nix @@ -14,15 +14,25 @@ postfix = { filter = "postfix"; settings = { - action = ''nftables[port="25,465,587"]''; + action = "nftables"; + port = "143,993"; }; }; dovecot = { filter = "dovecot"; settings = { - action = ''nftables[port="25,465,587"]''; + action = "nftables"; + port = "25,465,587"; }; }; + # I don't use SSHd right now, but if I do, re-enable this. + # sshd = { + # filter = "sshd"; + # settings = { + # action = "nftables"; + # port = "22"; + # }; + # }; }; }; }