From fcc3fbaf52880f016db33f036280ad8c16ca5f90 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 6 Apr 2021 22:59:51 +0200 Subject: [PATCH] nixos-module/container/upstream: fix nat --- nix/nixos-module/container/upstream.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/nixos-module/container/upstream.nix b/nix/nixos-module/container/upstream.nix index 314a50d..31c707d 100644 --- a/nix/nixos-module/container/upstream.nix +++ b/nix/nixos-module/container/upstream.nix @@ -26,6 +26,7 @@ in networking.nat = lib.optionalAttrs (firstUpstreamInterface != null) { enable = true; + internalInterfaces = [ "core" ]; externalInterface = firstUpstreamInterface; forwardPorts = config.site.hosts.${hostName}.forwardedPorts; };