diff options
author | Alex Auvolat <alex@adnab.me> | 2023-06-02 15:40:43 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-06-02 15:40:43 +0200 |
commit | 14b59ba4b019799dc15d7a92faa8e89f1d7bf6f3 (patch) | |
tree | f63cef553bc6b4919e0ff23c84589a71f56d6d22 /cluster/prod/site | |
parent | c31de0e94fed68cb25dbf15fc5a95008351b3e19 (diff) | |
download | nixcfg-14b59ba4b019799dc15d7a92faa8e89f1d7bf6f3.tar.gz nixcfg-14b59ba4b019799dc15d7a92faa8e89f1d7bf6f3.zip |
màj config gitea
Diffstat (limited to 'cluster/prod/site')
-rw-r--r-- | cluster/prod/site/bespin.nix | 10 |
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 + # ''; + # }; } |