1

What is the simplest way to redirect all TCP traffic from one virtual machine to another in Ubuntu Linux and reverse? And what type of connection I suppose to use in VirtualBox?

1 Answer 1

0

So to direct traffic from VM A to VM B, you can set the ip address of VM B to be the default gateway for VM A. That way, when VM A tries to talk to the outside world, it will look up the gateway, and send traffic to VM B.

Put both machines on the same Virtual Box network. Either both bridged, or on the same internal network. They need to see each other.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .