NixToSee/modules/firewall.nix
2025-05-15 20:36:37 +02:00

9 lines
173 B
Nix

{
networking.firewall = {
enable = true;
# Open ports in the firewall.
allowedTCPPorts = [8080 10001 10002];
allowedUDPPorts = [8080 10001 10002];
};
}