Adding fail2ban and preparing things
This commit is contained in:
parent
202b09159a
commit
c8fcad448a
2 changed files with 14 additions and 0 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue