aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/site/bespin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod/site/bespin.nix')
-rw-r--r--cluster/prod/site/bespin.nix10
1 files changed, 10 insertions, 0 deletions
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
+ # '';
+ # };
}