Files
numbus-server-module/modules/networking/firewall.nix
T
2026-02-24 22:39:35 +01:00

13 lines
233 B
Nix

{ config, ... }:
{
config = {
networking.nftables.enable = true;
networking.firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [ 53 80 443 ];
allowedUDPPorts = [ 53 443 ];
};
};
}