nix-config/hosts/Anton/firewall.nix

9 lines
153 B
Nix
Raw Normal View History

2024-07-28 17:51:58 +02:00
{ pkgs, ... }:
{
networking.firewall = {
enable = true;
2024-08-03 15:36:08 +02:00
allowedTCPPorts = [ 22 80 443 3000 8384 ];
2024-07-28 18:14:30 +02:00
allowedUDPPorts = [ 22 80 443 ];
2024-07-28 17:51:58 +02:00
};
}