nixos-module/container/upstream: fix nat
This commit is contained in:
parent
daa7bef9d5
commit
fcc3fbaf52
|
@ -26,6 +26,7 @@ in
|
|||
|
||||
networking.nat = lib.optionalAttrs (firstUpstreamInterface != null) {
|
||||
enable = true;
|
||||
internalInterfaces = [ "core" ];
|
||||
externalInterface = firstUpstreamInterface;
|
||||
forwardPorts = config.site.hosts.${hostName}.forwardedPorts;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue