Adding fail2ban and preparing things

This commit is contained in:
Lyes Saadi 2025-10-30 01:39:28 +01:00
parent 202b09159a
commit c8fcad448a
Signed by: lyes
GPG key ID: 55A1D803917CF39A
2 changed files with 14 additions and 0 deletions

View file

@ -3,6 +3,16 @@
{
services.openssh.enable = true;
services.fail2ban = {
enable = true;
ignoreIP = [
"82.67.15.247"
"185.230.78.0/23"
];
bantime = "1h";
bantime-increment.enable = true;
};
boot.swraid = {
enable = true;
mdadmConf = ''