all repos — nixfiles @ a0f1382803a6c4ca93463928fef682346be9a894

System and user configuration, managed by nix and home-manager

prefect: update network addresses used in firewall
Alan Pearce alan@alanpearce.eu
Thu, 16 Jun 2022 15:44:49 +0200
commit

a0f1382803a6c4ca93463928fef682346be9a894

parent

4f664bb0517843b305365df41db0bcb35a162e3f

1 files changed, 2 insertions(+), 4 deletions(-)

jump to
M system/prefect.nixsystem/prefect.nix
@@ -88,10 +88,8 @@ openFirewall = false;     startWhenNeeded = true;
   };
   networking.firewall.extraCommands = ''
-    iptables  -A nixos-fw -p udp --source 172.30.44.0/24       -j nixos-fw-accept
-    iptables  -A nixos-fw -p tcp --source 172.30.44.0/24       -j nixos-fw-accept
-    ip6tables -A nixos-fw -p tcp --source fd12:d04f:65d:0::/64 -j nixos-fw-accept
-    ip6tables -A nixos-fw -p udp --source fd12:d04f:65d:0::/64 -j nixos-fw-accept
+    iptables  -A nixos-fw -p udp --source 172.30.42.0/24       -j nixos-fw-accept
+    iptables  -A nixos-fw -p tcp --source 172.30.42.0/24       -j nixos-fw-accept
   '';
 
   networking = {