Hello.

I installed VirtualBox 2.1.4 from the Debian Lenny virtualbox repository 
(http://download.virtualbox.org/virtualbox/debian).  I installed Windows 
XP as guest in it without problems.  From inside the guest, I have 
network access to the outside world without problem.  However, services 
running inside it (ftp, games, whatever) aren't visible from outside 
(using the host's IP address).

I'm trying to forward port 7777 like this:

VBoxManage setextradata "Windows XP" 
"VBoxInternal/Devices/pcnet/0/Lun#0/Config/ftp2/Protocol" TCP
VBoxManage setextradata "Windows XP" 
"VBoxInternal/Devices/pcnet/0/Lun#0/Config/ftp2/GuestPort" 7777
VBoxManage setextradata "Windows XP" 
"VBoxInternal/Devices/pcnet/0/Lun#0/Config/ftp2/HostPort" 7777

I restart the VM but it doesn't work.  Port 7777 is still closed. 
"netstat -en" on the host does not list anything listening on port 7777 
(or any other port I tried to forward).

"VBoxManage getextradata "Windows XP" enumerate" shows that the forward 
is actually configured:

Key: VBoxInternal/Devices/pcnet/0/Lun#0/Config/ftp2/Protocol, Value: TCP
Key: VBoxInternal/Devices/pcnet/0/Lun#0/Config/ftp2/GuestPort, Value: 7777
Key: VBoxInternal/Devices/pcnet/0/Lun#0/Config/ftp2/HostPort, Value: 7777

But when actually trying, 7777 is closed.

lsmod:
vboxnetflt            103212  0
vboxdrv              1697516  2 vboxnetflt

I don't know how to resolve this.  I've been RTFMing for the last couple 
of hours with no results.  I checked for obvious mistakes like wrong 
network card, but XP is showing "PCNet" which I configured as -nic1.

I'm out of ideas :P


_______________________________________________
vbox-users mailing list
vbox-users@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to