Files
numbus-server-module/modules/networking/firewall.nix
T

11 lines
201 B
Nix

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