magpie/firewall: do not log refused connections, enable ping

This commit is contained in:
Asmir A 2023-11-06 19:23:11 +01:00
parent 5025dd2571
commit e4c0207bd3
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -243,12 +243,14 @@
owner = config.users.users.nextcloud.name;
};
networking.hostName = "magpie";
networking.wireless.enable = false;
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [80 443 587];
networking.firewall.allowedUDPPorts = [];
networking.firewall.allowPing = true;
networking.firewall.logRefusedConnections = lib.mkDefault false;
networking.hostName = "magpie";
networking.networkmanager.enable = true;
networking.wireless.enable = false;
system.stateVersion = "22.11";
}