VirtualBox cheatsheet

Table of Contents

Setting up port forwarding

from http://www.virtualbox.org/manual/ch06.html#natforward
VBoxManage modifyvm "VMname" --natpf1 "guestssh,tcp,,2222,,22"
VBoxManage modifyvm "VMname" --natpf1 delete "guestssh"

VBoxManage list vms (list vm guest names)
VBoxManage showvminfo <VMname> --details (shows nat rule
                                             and other things)