I am not good at computer. Currently, I'm using Kali Linux as a VM using VMware. I want to install Metasploitable2 using virtual box inside this VM. Can I do that?
2 Answers
Yes this is possible using Virtualbox. You have to make sure that your vmware version accepts nested virtualization.
Version 5.1 and later:
1 Right-click the virtual machine and select Edit Settings.
a To locate a virtual machine, select a datacenter, folder, cluster, resource pool, host, or vApp.
b Click the Related Objects tab and click Virtual Machines.
2 On the Virtual Hardware tab, expand CPU, and select Expose hardware-assisted virtualization to guest OS.
3 Click OK.
The Manage tab refreshes, and the Nested Hypervisor CPU option shows Enabled.
- 788
Your approach is overcomplicated.
Set up another VM on the host. Configure networking so that both VMs can communicate with each other.
I'm not familiar with VMWare, but in VirtualBox you'd create a new NAT Network (VirtualBox network settings) and connect both VMs to it (VM settings).
- 58,482