move logRefusedConnections to base

This commit is contained in:
Motiejus Jakštys 2023-08-24 23:49:21 +03:00
parent c3168bb2d3
commit 6cf894ee68
5 changed files with 2 additions and 4 deletions

View File

@ -287,7 +287,6 @@
443 443
41641 # tailscale 41641 # tailscale
]; ];
logRefusedConnections = false;
checkReversePath = "loose"; # for tailscale checkReversePath = "loose"; # for tailscale
}; };
}; };

View File

@ -38,7 +38,6 @@ in {
firewall = { firewall = {
allowedTCPPorts = [53]; allowedTCPPorts = [53];
allowedUDPPorts = [53]; allowedUDPPorts = [53];
logRefusedConnections = false;
}; };
}; };

View File

@ -323,7 +323,6 @@
firewall = { firewall = {
allowedUDPPorts = [53 80 443]; allowedUDPPorts = [53 80 443];
allowedTCPPorts = [53 80 443]; allowedTCPPorts = [53 80 443];
logRefusedConnections = false;
checkReversePath = "loose"; # for tailscale checkReversePath = "loose"; # for tailscale
}; };
}; };

View File

@ -107,7 +107,6 @@
firewall = { firewall = {
allowedUDPPorts = [myData.ports.kodi]; allowedUDPPorts = [myData.ports.kodi];
allowedTCPPorts = [myData.ports.kodi]; allowedTCPPorts = [myData.ports.kodi];
logRefusedConnections = false;
checkReversePath = "loose"; # for tailscale checkReversePath = "loose"; # for tailscale
}; };
}; };

View File

@ -143,6 +143,8 @@
#vim.defaultEditor = true; #vim.defaultEditor = true;
}; };
networking.firewall.logRefusedConnections = false;
services = { services = {
chrony = { chrony = {
enable = true; enable = true;