fix(fail2ban): more strict rules
This commit is contained in:
parent
fe73620ee3
commit
7a59ec63a1
1 changed files with 8 additions and 0 deletions
|
|
@ -1,5 +1,13 @@
|
|||
{
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
bantime-increment = {
|
||||
enable = true;
|
||||
};
|
||||
ignoreIP = [
|
||||
# Saint-Etinne
|
||||
"92.159.247.205"
|
||||
];
|
||||
jails.sshd.settings.findtime = 600; # 600sec = 10 minutes
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue