nix-config/hosts/Anton/firewall.nix
2024-07-28 17:52:48 +02:00

9 lines
141 B
Nix

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