TinUbuntu & Sun VirtualBox Config

From SnOwy - Ed's Wiki Notebook

Jump to: navigation, search

Thanks to Evan's "justwerks software" blog [1].

The following commands were issued...

cd /Applications/VirtualBox.app/Contents/MacOS
$VBoxManage setextradata "TinUbuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/Protocol" TCP
$VBoxManage setextradata "TinUbuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/GuestPort" 22
$VBoxManage setextradata "TinUbuntu" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/HostPort" 2222

Which causes TinUbuntu TCP:22 to be forwarded to Tin TCP:2222.

In future, I should remove these rules and re-add them replacing "guesthttp" with my own name for this rule-- In his blog, Evan has used a series of names: "guesthttp", "guestssh" and "guestsql"-- In reality, these are actually very good, unambiguous names that I'll probably end up borrowing.

Personal tools