ctucx.git: nixfiles

ctucx' nixfiles

commit 659e147a5933fe8c9d8c9b7c19a5c8ea690d7a35
parent 5e9abc1886cf2f7b2569e379d19d9e31751b3261
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 15 May 2023 12:16:41 +0200

machines/wanderduene/configuration: bind iperf to 172.17.0.1
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/machines/wanderduene/configuration.nix b/machines/wanderduene/configuration.nix
@@ -134,6 +134,7 @@
     firewall.allowedTCPPorts = [ 5201 2201 2202 2203 ];
     firewall.allowedUDPPorts = [ 5201 51820 51821 51822 ];
     firewall.extraCommands = ''
+      iptables  -A nixos-fw -i wg-mikrotik   -j nixos-fw-accept
       iptables  -A nixos-fw -i wg-briefkasten -j nixos-fw-accept
       iptables  -A nixos-fw -i wg-stasicont   -j nixos-fw-accept
     '';

@@ -141,7 +142,7 @@
 
   services.iperf3 = {
     enable = true;
-    bind   = "172.16.0.1";
+    bind   = "172.17.0.1";
   };
 
   system.stateVersion = "21.11";