Files
numbus-server-module/modules/networking/firewall.nix
T
Raphaël Numbus 3558fc5d5c TEST
2026-02-27 17:39:45 +01:00

14 lines
287 B
Nix

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