Hi all,
I want to set port forwarding for NAT according to the manual but it
doesn't work.
HOST OS: win2000
Guest OS: CentOS
I follow the manual to set as below.
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/UDP" 0
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222
However, I can't ssh to the guess os thro' port 2222.
Anyone can give me some suggestions to fix it?
port forwarding for NAT
-
- Volunteer
- Posts: 180
- Joined: 17. May 2007, 16:02
Bridge your network card.
http://www.netcal.com/news.php?article=11
http://www.homenethelp.com/web/howto/wi ... -setup.asp
Then, Fire up Virtual box ... Select your virtual machine ...
Click "Network" on the Right
Under Adapter 0, in the "Attached to" pull down menu select "Host Interface" Under Interface Name type "tap1" (without quotes)
Save and exit ...
Now start you machine and you should be good to go.
Your guest will get an IP on your LAN and your can ssh into the local IP (192.168.2.xx)
http://www.netcal.com/news.php?article=11
http://www.homenethelp.com/web/howto/wi ... -setup.asp
Then, Fire up Virtual box ... Select your virtual machine ...
Click "Network" on the Right
Under Adapter 0, in the "Attached to" pull down menu select "Host Interface" Under Interface Name type "tap1" (without quotes)
Save and exit ...
Now start you machine and you should be good to go.
Your guest will get an IP on your LAN and your can ssh into the local IP (192.168.2.xx)
If is a virtual machine, is it still broken ?