Page 1 of 1

NAT behind NAT port forwarding (uTorrent Install on XP)

Posted: 23. Dec 2008, 09:18
by junkeeroo
Hi, All,

I've been reading about and trying to forward the port for uTorrent on the router to the Host IP, then on the Host forward it with VB to your VM (NAT running behind NAT) for a few days now without success.

Sorry for the newb questions...not so easy to learn this stuff from scratch.

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?

Second, 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.

Appreciate any help

J

Re: NAT behind NAT port forwarding (uTorrent Install on XP)

Posted: 23. Dec 2008, 09:24
by Hachiman
The problem you've met is described #2808, and fix will be delivered in the nearest release.

Posted: 23. Dec 2008, 21:35
by junkeeroo
Thanks for the replies.

I'm currently running 2.04, any chance on a tutorial for this somewhere?

Cheers,

J

Posted: 2. Jan 2009, 07:25
by sunandwavs
junkeeroo wrote:I'm currently running 2.04, any chance on a tutorial for this somewhere?
I'm also a noob :oops: so buyer beware :lol:. Search the 2.0.4 User Manual for something similar to "Configuring port forwarding with NAT". Although this is the title in 2.1.0 it maybe slightly different in 2.0.4.
You also mentioned errors when running VBoxManage, is that correct? In that case you may want to look at that separately (reinstall 2.0.4??) from the NAT port forwarding problem.

On my XP/SP3 host, I have VB installed at C:\Program Files\Sun\xVM VirtualBox> (default). And my VM is called Fedora 10. So when I CD to this directory and type this at a DOS command prompt

Code: Select all

VBoxManage getextradata "Fedora 10" enumerate
I get this back

Code: Select all

VirtualBox Command Line Management Interface Version 2.1.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Key: GUI/SaveMountedAtRuntime, Value: yes
Key: GUI/LastCloseAction, Value: powerOff
Key: GUI/LastWindowPostion, Value: 4,23,720,440
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
After you get VBoxManage and other executables running correctly, you will be using several

Code: Select all

VBoxManage getextradata
commands to map ports between host and guest.

With all this said, I still haven't figured out how to get to Apache from my host. :roll:

Posted: 4. Jan 2009, 20:35
by Sasquatch
TCP port forwarding is broken in 2.1.0. Either use Host Interface Networking, or downgrade to 2.0.6 if you need TCP port forwarding.