« prev :: next »


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.

To configure 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.

  • Adapter:
    • Configure Adapter: Manually
    • IPv4 Address: 10.1.1.2 – The OPNsense router will be 10.1.1.1.
    • IPv4 Network Mask: 255.255.255.0
    • IPv6 Address: blank
    • IPv6 Prefix Length: 0
  • DHCP Server: Disabled

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:

  • Network Name: NatNetwork1
  • Network CIDR: 10.2.2.0/24
  • Supports DHCP: True
  • Supports IPv6: False

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/ISOs and /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.


« prev :: next »