Former-commit-id: 88fb9d078b
This commit is contained in:
Hadi
2024-06-08 01:56:21 +02:00
parent fb44fb3fab
commit f76419c158
27 changed files with 200 additions and 48 deletions
+6
View File
@@ -1,5 +1,11 @@
{
services.fail2ban = {
enable = true;
maxretry = 3;
ignoreIP = [ "127.0.0.0/8" "10.0.0.0/8" "192.168.0.0/16" ];
};
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 ];