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
Code: Select all
VBoxManage modifyvm "XP-with-SP3" --natpf1 "emule,tcp,,40405,,40405"
VBoxManage modifyvm "XP-with-SP3" --natpf1 "emule,udp,,40565,,40565"
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?