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 destroyand start over the next day withvagrant upfrom scratch. You can alsovagrant destroyat the end of your sessions to ensure you don't leave metasploitable running. A candidate vagrantfile is here: https://github.com/madsec/tha-lab_setup/blob/master/assets/Vagrantfile – Bradley Evans Jul 27 '16 at 04:11Metasploitable 2and each of them recommended for setting it up withHost-only Adapter... – Eyal Aug 12 '16 at 20:34