dotfiles/nix/configs/firewall.nix
2024-12-05 07:02:26 +01:00

14 lines
192 B
Nix

{ pkgs, ... }: {
networking.firewall = {
enable = true;
allowedUDPPorts = [
34197 #factorio
4242
];
allowedTCPPorts = [
25565 # mc
4242
];
};
}