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" 28080 VBoxManage setextradata nvm3 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 28080 VBoxManage setextradata nvm3 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
In the sample above, I'm forwarding port 28080/tcp from the host to 28080/tcp on the guest. My VM's name is nvm3.
« ‹ | December 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |