From 8583b55c0f58b6b636d2b83eb4936249ea1759c0 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 18 Sep 2022 14:43:07 +0200 Subject: [PATCH] nixos-module/container/upstream: fix --- nix/nixos-module/container/upstream.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/nixos-module/container/upstream.nix b/nix/nixos-module/container/upstream.nix index 2add9f7..908883e 100644 --- a/nix/nixos-module/container/upstream.nix +++ b/nix/nixos-module/container/upstream.nix @@ -89,7 +89,7 @@ in # Do not NAT our public IPv4 addresses ${lib.concatMapStringsSep "\n" (net: lib.concatMapStrings (subnet: '' - ip6tables -t nat -I nixos-nat-post \ + iptables -t nat -I nixos-nat-post \ -s ${subnet} \ -j RETURN '') upstreamInterfaces.${net}.upstream.noNat.subnets4 or []