container-networking: NAT to con*

This commit is contained in:
lassulus 2022-05-28 12:11:37 +02:00
parent a6c74f87d1
commit 9e36a59fb1

View File

@ -1,7 +1,7 @@
{ lib, ... }:
{
networking.nat.enable = true;
networking.nat.internalInterfaces = ["ve-+"];
networking.nat.internalInterfaces = ["ve-+" "ctr+" ];
networking.nat.externalInterface = lib.mkDefault "et0";
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
}