Let fail2ban ignore own IP
This commit is contained in:
parent
8ae26b71e6
commit
40ad646729
1 changed files with 2 additions and 1 deletions
|
|
@ -181,7 +181,8 @@
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
maxretry = 5;
|
maxretry = 5;
|
||||||
ignoreIP = [ "127.0.0.0/8" "10.0.0.0/8" "192.168.0.0/16" ];
|
ignoreIP =
|
||||||
|
[ "127.0.0.0/8" "195.90.211.228/22" "10.0.0.0/8" "192.168.0.0/16" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
mailserver = {
|
mailserver = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue