Hurray,
our students won the CC this Year - I'm so fu***** proud of them - Yeehaa
me, my rantings and all the rest
vbox is a nifty piece of software - and NAT does its job most of the time. But when it comes to connecting from your pc=host to the vbox=guest - you're screwed. But there's VBoxManage which can set up TCP/UDP forwardings to work around that Problem. The following lines will forward all traffic on port 22220 of the host to port 22 of the guest named Ubuntu32bit:
VBoxManage setextradata "Ubuntu32bit" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata "Ubuntu32bit" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata "Ubuntu32bit" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 22220