For this next bit of setup, I prefer to do everything via the desktop VirtualBox client rather than the
phpVirtualBox client, for the sake of simplicity.
VirtualBox for the
vbox user, we need to log in as
vbox. Then launch
VirtualBox and continue through the following steps.
First up, I use File > Host Network Manager (Ctrl-H) to create a new host-only network on the system. Clicking Create, I see a new
vboxnet0 network interface. I select this interface, then click Properties.
OPNsenserouter will be
I’m disabling the DHCP server because I intend to allow DHCP to be managed by an
OPNsense 20.1 router VM.
After clicking Apply and ensuring the changes were properly saved, I click Close. Then I click File > Preferences (Ctrl-G) and change the Default Machine Folder to
/vault/VirtualBox VMs. Moving to the Network tab, I create a new NAT Network:
This will be our test network when we’re building new machines. This won’t be managed by the
OPNsense router. With everything configured, click Close. Next, to ensure everything went smoothly, I reboot the system, then check my changes to ensure they remain. Sure enough, everything’s on-point!
Make a snapshot. “Ready for VMs.”
At this point, I go ahead and transfer a bunch of ISOs and OVAs to the system, storing them in
/vault/library/OVAs, respectively. The
/vault directory is linked to the SAS drive, so there’s plenty of space for all the files, but I/O is not as quick as the SSD. This is perfect for long-term storage and non-essential VMs.