nixos-module/container/upstream: fix
This commit is contained in:
parent
bd95d81cba
commit
8583b55c0f
|
@ -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 []
|
||||
|
|
Loading…
Reference in New Issue