Comments
 
posted on April 17th 2008, at 12:56
by lunarg
If you're using NAT for networking with your VMs, you need to use port forwarding if you want to access a VM from the outside network. This is a quick and dirty howto on how to do this in linux.

Fire up a terminal, and enter these commands:

VBoxManage setextradata nvm3 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 28080VBoxManage setextradata nvm3 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 28080VBoxManage setextradata nvm3 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP

In the sample above, I'm forwarding port 2  ...
 
 
« February 2012»
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
26272829   
 
Links
 
Quote
« When a bird does poo poo in your eye, be happy elephants don't fly. »