We could access our VirtualBox VM guest locally with ease, but what if the VM guest is remotely located, this post will show us 2 ways to access remote Windows VM guest and how to copy files between local machine and remote VM guest
VirtualBox is a popular free VM software which we could use to create VM guest to install new OS instead of preparing a physical machine. Sometimes we need to copy some files to the VM, usually, if the VM is hosted on our local machine, we could do this by enabling share folders or dragging, but what if the VM is hosted on remote machine
There are 2 ways to access our remote VM guest:
Next, let's dig into these ways.
It is easy to enable VRDP:
RDP is integrated in professional version of Windows or above, first we need to check how our VM is connected to the network, usually 2 modes are used:
In this mode, the physical machine act as a gateway, VM guest connect to the network through host, we need to configure port forwarding for this mode:
In this mode, the VM guest will get an local ip as the host, we could access our VM guest directly using this ip, without any extra configuration.
RDP is not enabled by default, we should enable it first, taking Win10 for example:
We could use Remote Desktop Connection (mstsc.exe) to access our VM guest, input the forwarding IP:port of the host under NAT mode, or the guest IP under Bridged mode, After trying both VRDP and RDP, we found that:
This post covered 2 ways of accessing remote VirtualBox Windows VM guest, VRDP is simple to set, but is limited. The configuration of RDP is more complicated, but we can use it the same way as we access a remote physical machine. RDP is recommended if you need to copy files between local machine and remote VM guest.