Files
numbus-server-module/modules/networking/firewall.nix
T
2026-02-27 17:36:17 +01:00

14 lines
293 B
Nix

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