From 7ef0bdbc36a73dc70404baf5c4b8b3feed20fa76 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Sat, 22 Jul 2023 01:55:17 +0100 Subject: [PATCH] Add open ports to firewall --- hosts/bigding/configuration.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/hosts/bigding/configuration.nix b/hosts/bigding/configuration.nix index 6bae5c0..88079c1 100644 --- a/hosts/bigding/configuration.nix +++ b/hosts/bigding/configuration.nix @@ -25,9 +25,17 @@ hostName = "bigding"; interfaces.ens3.useDHCP = true; - firewall.interfaces = { - "tailscale0" = { - allowedUDPPorts = [41641]; + firewall = { + allowedTCPPortRanges = [ + { + from = 12500; + to = 12515; + } + ]; + interfaces = { + "tailscale0" = { + allowedUDPPorts = [41641]; + }; }; }; };