From a0f1382803a6c4ca93463928fef682346be9a894 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 16 Jun 2022 15:44:49 +0200 Subject: prefect: update network addresses used in firewall --- system/prefect.nix | 6 ++---- 1 file 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 = { -- cgit 1.4.1