I've recently installed Metasploitable 2
and I would like to set up it's network in the following way:
I'm running Metasploitable 2
on a VirtualBox
on my PC, and what I'd like to do is to be able to communicate with it through Kali Linux
which is installed on my laptop (not virtually).
My question is: How do I need to set up the network on VirtualBox
for this to work?
I already tried: How to do networking between virtual machines in VirtualBox?
with no success, probably because I only have one VM and can't choose Internal Network
because Metasploitable 2
is full of exploits which will expose me to hackers...
Thanks in advance.
vagrant destroy
and start over the next day withvagrant up
from scratch. You can alsovagrant destroy
at the end of your sessions to ensure you don't leave metasploitable running. A candidate vagrantfile is here: github.com/madsec/tha-lab_setup/blob/master/assets/VagrantfileMetasploitable 2
and each of them recommended for setting it up withHost-only Adapter
...