summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2022-06-16 15:44:49 +0200
committerAlan Pearce2022-06-16 15:44:49 +0200
commita0f1382803a6c4ca93463928fef682346be9a894 (patch)
tree6a072d77852d48c2b6906ee18c10c17e1fb99eac
parent4f664bb0517843b305365df41db0bcb35a162e3f (diff)
downloadnixfiles-a0f1382803a6c4ca93463928fef682346be9a894.tar.lz
nixfiles-a0f1382803a6c4ca93463928fef682346be9a894.tar.zst
nixfiles-a0f1382803a6c4ca93463928fef682346be9a894.zip
prefect: update network addresses used in firewall
-rw-r--r--system/prefect.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index faff27d7..d7781785 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -88,10 +88,8 @@
     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 = {