port forwarding

Discussions related to using VirtualBox on Windows hosts.
Post Reply
junkeeroo
Posts: 19
Joined: 15. Dec 2008, 05:35

port forwarding

Post by junkeeroo »

Hi, Happy holidays, All,

2 newb questions pls...

#1. When trying to forward the port for uTorrent on the router to the Host IP, do I use the IP address, subnet, default gateway and DNS servers info from my host computer's ipconfig or the IP info from my router's WAN?

#2. I've been unable to do the VBoxManage command in DOS. I can get the prompt to "C:\>" but when I type in the instructions for my machine:

VBoxManage setextradata "[MyGuestMachine'sName]" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/remotedesk/Protocol" TCP (all typed on the same line)

...I get the "vbox is not recognized as internal or external command" message.


I know this problem is being sorted out for VBox 2.1 but anyone know how to get it running for 2.04 or other previous versions where it is working?

Thanks,

J
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Post by baf »

you are most probably missing the path to the vbox commands.
Try doing cd to the directory that contains the programs.
Or give the full path to it, something like

"c:\Program Files\virtualbox\VBoxManage" ....

If the path contains spaces then you must have those citation marks around it

And to nitpick It's not DOS it's the "command line subsystem" or something like that.
junkeeroo
Posts: 19
Joined: 15. Dec 2008, 05:35

Post by junkeeroo »

Thanks for your reply, i appreciate it.

As i'm a total newbie, I'm still confused and pulling out my already thinning hair (starting to bald but that's besides the point). You suggested that:

"you are most probably missing the path to the vbox commands.
Try doing cd to the directory that contains the programs.
Or give the full path to it, something like "c:\Program Files\virtualbox\VBoxManage" .... "

I'm not clear on what to exactly type in. When trying to set the cd to directory, what do I do after this "C:\Program Files\Sun\xVM VirtualBox...?"

I'm trying to follow the "6.4.1 Configuring port forwarding with NAT" instructions:

VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222

Do I type these instructions directly in the same line as "C:\Program Files\Sun\xVM VirtualBox..." Hoping you can tell me exactly what I would type?

Thanks again and happy holidays,

J
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Post by baf »

On the command line do:
cd "C:\Program Files\Sun\xVM VirtualBox"
If thats the full path to where the files are.

now do:
VboxManage bla bla
repeat with next
junkeeroo
Posts: 19
Joined: 15. Dec 2008, 05:35

Post by junkeeroo »

thankS!
Post Reply