Page 1 of 1

Port forwarding - not working for me.

Posted: 3. May 2010, 11:07
by drkirkby
I'm trying to use eMule on a Windows XP Virtual Machine, running with a OpenSolaris host. I'm trying to forward a port to the XP virtual machine, using the method described here:

http://www.virtualbox.org/manual/ch06.html#natforward

Code: Select all

drkirkby@hawk:/chess$ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/emule/Protocol" TCP
VirtualBox Command Line Management Interface Version 3.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

drkirkby@hawk:/chess$ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 61000
VirtualBox Command Line Management Interface Version 3.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

drkirkby@hawk:/chess$ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/emule/GuestPort" 61000
VirtualBox Command Line Management Interface Version 3.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
When I attempt to start the Virtual machine, I get error messages, but it fails to start.

Code: Select all

00:00:00.708 VMSetError: NAT#0: configuration query for "HostPort" int failed
00:00:00.708 PDM: Failed to construct 'pcnet'/0! VERR_CFGM_VALUE_NOT_FOUND (-2103) - Value not found.
00:00:00.950 VMSetError: /export/home/vbox/tinderbox/3.1-sol-rel/src/VBox/VMM/VM.cpp(323) int VMR3Create(uint32_t, void (*)(VM*, void*, int, const char*, unsigned int, const char*, const char*, __va_list_tag*), void*, int (*)(VM*, void*), void*, VM**)
00:00:00.950 VMSetError: Unknown error creating VM
00:00:00.950 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={6375231a-c17c-464b-92cb-ae9e128d71c3} aComponent={Console} aText={NAT#0: configuration query for "HostPort" int failed (VERR_CFGM_VALUE_NOT_FOUND).
00:00:00.950 Unknown error creating VM (VERR_CFGM_VALUE_NOT_FOUND)} aWarning=false, preserve=false
00:00:00.963 Power up failed (vrc=VERR_CFGM_VALUE_NOT_FOUND, rc=NS_ERROR_FAILURE (0X80004005))
If I then delete those values, with

Code: Select all

$ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/emule/GuestPort" 
etc
then the machine starts OK.

Looking at the manual, pcnet may have to be changed to e1000 if using a different sort of networking. But I'm using the default, and when I log into the virtual machine and use "Control Panel", under networking I see PCNET and nothing indicating e1000, so I assume pcnet is correct.

Any ideas?

Dave