From d4e7097f6d3a44ace5f56be0d5172a1598cad233 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 29 Aug 2024 17:14:47 -0700 Subject: [PATCH] Poke holes in the firewall for mDNS (Avahi) and my python test script The test script checks for addressability from a datacenter. --- nalai/etc/nixos/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nalai/etc/nixos/configuration.nix b/nalai/etc/nixos/configuration.nix index 339f0bd..f1ace4b 100644 --- a/nalai/etc/nixos/configuration.nix +++ b/nalai/etc/nixos/configuration.nix @@ -182,9 +182,10 @@ }; services.tailscale.enable = true; + systemd.network.enable = true; # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedTCPPorts = [ 5353 50007 ]; + networking.firewall.allowedUDPPorts = [ 5353 50007 ]; # Or disable the firewall altogether. # networking.firewall.enable = false;