I'm trying to pentest this machine (guest target) who has been configured to be on 192.168.110.140 with the Host-only networking feature of virtualbox.
I can access it from my host machine, no worries until here.
This host machine is on 192.168.1.195, but this is not the machine I use to test : I use for that another vm with Kali (guest attacker) on it and I configured it with a bridged connection, because most of the time I want to ssh into that VM.
Now the issue is that from guest attacker I can't access the guest target that is on another subnet.
If I configure guest attacker to use the NAT I now can ping the guest target fine, but I can't ssh from the host into the guest attacker.
What config should I have to:
- be able to ssh from host to guest attacker AND
- see guest target from guest attacker knowing I'm forced to use the Host-only feature as the ip seems to have been set in stone on that VM....