nixos-module/container/upstream: fix

This commit is contained in:
Astro 2022-09-18 14:43:07 +02:00
parent bd95d81cba
commit 8583b55c0f
1 changed files with 1 additions and 1 deletions

View File

@ -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 []