refactor(luna): make fail2ban only monitor default ssh port
This commit is contained in:
parent
fd24ea629f
commit
38f10ee48b
@ -2,6 +2,9 @@
|
|||||||
{
|
{
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
maxretry = 5;
|
maxretry = 10;
|
||||||
|
jails.DEFAULT.settings = {
|
||||||
|
port = "2200";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user