magpie/firewall: do not log refused connections, enable ping
This commit is contained in:
parent
5025dd2571
commit
e4c0207bd3
@ -243,12 +243,14 @@
|
|||||||
owner = config.users.users.nextcloud.name;
|
owner = config.users.users.nextcloud.name;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "magpie";
|
|
||||||
networking.wireless.enable = false;
|
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
networking.firewall.allowedTCPPorts = [80 443 587];
|
networking.firewall.allowedTCPPorts = [80 443 587];
|
||||||
networking.firewall.allowedUDPPorts = [];
|
networking.firewall.allowedUDPPorts = [];
|
||||||
|
networking.firewall.allowPing = true;
|
||||||
|
networking.firewall.logRefusedConnections = lib.mkDefault false;
|
||||||
|
networking.hostName = "magpie";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
networking.wireless.enable = false;
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user