Sun xVM comes up with a command line tool
vboxmanage setextradata "Ubuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestFTP/Protocol" TCP
vboxmanage setextradata "Ubuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestFTP/GuestPort" 21
vboxmanage setextradata "Ubuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestFTP/HostPort" 1121
Here, Ubuntu is the name of my VM. I have chosen guestFTP as the name of the service which will be forwarded --- you can replace this part with something of your choice. Essentially, the commands set three parameters: protocol, guest port and host port.
No comments:
Post a Comment