NAT behind NAT port forwarding (uTorrent Install on XP)

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

NAT behind NAT port forwarding (uTorrent Install on XP)

Post 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
Hachiman
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Solaris, NetBSD

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

Post by Hachiman »

The problem you've met is described #2808, and fix will be delivered in the nearest release.
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
junkeeroo
Posts: 19
Joined: 15. Dec 2008, 05:35

Post by junkeeroo »

Thanks for the replies.

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

Cheers,

J
sunandwavs
Posts: 20
Joined: 22. Dec 2008, 09:43

Post 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:
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply