nix-config/hosts/Anton/firewall.nix
2024-08-03 17:09:55 +02:00

9 lines
153 B
Nix

{ pkgs, ... }:
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 3000 8384 ];
allowedUDPPorts = [ 22 80 443 ];
};
}