From 0f15709332a74af416ad77dab08b3b68df538d14 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 11 Jan 2025 17:44:35 +0000 Subject: [PATCH] enable firewall --- hosts/cloud/networking.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/cloud/networking.nix b/hosts/cloud/networking.nix index 499bb0c..ea37472 100644 --- a/hosts/cloud/networking.nix +++ b/hosts/cloud/networking.nix @@ -2,6 +2,10 @@ { networking.dhcpcd.enable = false; + networking.firewall.enable = true; + # TODO: configure automatically in the module + networking.firewall.allowedUDPPorts = [ 51820 ]; + networking.useNetworkd = true; systemd.network.enable = true; systemd.network = {