From 14b59ba4b019799dc15d7a92faa8e89f1d7bf6f3 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 2 Jun 2023 15:40:43 +0200 Subject: =?UTF-8?q?m=C3=A0j=20config=20gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cluster/prod/site/bespin.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cluster/prod/site/bespin.nix') diff --git a/cluster/prod/site/bespin.nix b/cluster/prod/site/bespin.nix index cdce53e..57812a1 100644 --- a/cluster/prod/site/bespin.nix +++ b/cluster/prod/site/bespin.nix @@ -4,4 +4,14 @@ deuxfleurs.siteName = "bespin"; deuxfleurs.staticIPv4.defaultGateway = "192.168.5.254"; deuxfleurs.cnameTarget = "bespin.site.deuxfleurs.fr."; + + # Allow all ports from gateway for janky UPnP/IGD daemon + # networking.firewall = { + # extraCommands = '' + # iptables -A INPUT -s ${cfg.staticIPv4.defaultGateway} -p udp -j ACCEPT + # ''; + # extraStopCommands = '' + # iptables -D INPUT -s ${cfg.staticIPv4.defaultGateway} -p udp -j ACCEPT + # ''; + # }; } -- cgit v1.2.3