Port forwaring (so I can use emule on Windows XP)

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
drkirkby
Posts: 17
Joined: 4. Aug 2009, 19:15
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Windows XP, Solaris 10

Port forwaring (so I can use emule on Windows XP)

Post by drkirkby »

I've got VirtualBox 3.2.8 on an OpenSolaris 06/2009 host with an XP professional guest. Emule is running in the guest. (For those that do not know, its a P2P networking software, which has a server.

This is fundamentally not different from running an SSH server or any other sort of server on the guest.

One can configure the ports the server listens on.

I'v found two totally different ways on the web for doing this.

http://forums.virtualbox.org/viewtopic. ... ight=emule

Code: Select all

VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestEmule_TCP/Protocol" TCP
VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestEmule_TCP/GuestPort" 55555
VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestEmule_TCP/HostPort" 55555

VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestEmule_UDP/Protocol" UDP
VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestEmule_UDP/GuestPort" 55565
VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestEmule_UDP/HostPort" 55565 
and the VirtualBox manual seems to imply one needs something totally different

Code: Select all

VBoxManage modifyvm "XP-with-SP3" --natpf1 "emule,tcp,,40405,,40405"
VBoxManage modifyvm "XP-with-SP3" --natpf1 "emule,udp,,40565,,40565"
Neither are working for me. If I try to telnet from the OpenSolaris host to the port selected, I would expect it to connect to the emule server, but it does not.

Code: Select all

$ telnet localhost 55555
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Any ideas?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Port forwaring (so I can use emule on Windows XP)

Post by Perryg »

That's because the topic you referred to was from an older version.

The second example is the one to use but you need to make sure that you have forwarded the proper ports.
Post Reply