aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/site
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-06-02 15:40:43 +0200
committerAlex Auvolat <alex@adnab.me>2023-06-02 15:40:43 +0200
commit14b59ba4b019799dc15d7a92faa8e89f1d7bf6f3 (patch)
treef63cef553bc6b4919e0ff23c84589a71f56d6d22 /cluster/prod/site
parentc31de0e94fed68cb25dbf15fc5a95008351b3e19 (diff)
downloadnixcfg-14b59ba4b019799dc15d7a92faa8e89f1d7bf6f3.tar.gz
nixcfg-14b59ba4b019799dc15d7a92faa8e89f1d7bf6f3.zip
màj config gitea
Diffstat (limited to 'cluster/prod/site')
-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
+ # '';
+ # };
}