nix-config/hosts/Anton/firewall.nix

9 lines
152 B
Nix
Raw Normal View History

2024-09-19 17:12:09 +02:00
{ ... }:
2024-07-28 17:51:58 +02:00
{
networking.firewall = {
enable = true;
2024-08-04 11:55:07 +02:00
allowedTCPPorts = [ 22 80 443 3000 3001 8384 ];
2024-07-28 18:14:30 +02:00
allowedUDPPorts = [ 22 80 443 ];
2024-07-28 17:51:58 +02:00
};
}