modules/fail2ban: init

This commit is contained in:
Max Headroom 2021-10-16 14:31:10 +02:00
parent 53738508ca
commit eafcb789ad
2 changed files with 11 additions and 0 deletions

View file

@ -5,6 +5,7 @@ let
autopatch = import ./autopatch; autopatch = import ./autopatch;
deploy-rs-receiver = import ./deploy-rs-receiver; deploy-rs-receiver = import ./deploy-rs-receiver;
enterprise = import ./enterprise; enterprise = import ./enterprise;
fail2ban = import ./fail2ban;
hydra = import ./hydra; hydra = import ./hydra;
ipfs-lain = import ./ipfs-lain; ipfs-lain = import ./ipfs-lain;
nix-builder = import ./nix-builder; nix-builder = import ./nix-builder;

View file

@ -0,0 +1,10 @@
{
services.fail2ban = {
enable = true;
jails.sshd = ''
enabled = true
port = 22
mode = aggressive
'';
};
}