Cheat Sheet
Useful VirtualBox tricks
Last updated
Useful VirtualBox tricks
Last updated
Check your VirtualBox version.
Go to https://download.virtualbox.org/virtualbox
Open your Virtualbox version.
Download Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack.
Open Virtualbox VM Manager, go to File -> Preferences, Select Extension.
Now add extension by browsing to download location.
Open the VM Settings, go to Network.
In your adapter tab, click on Advanced. Then click on Port Forwarding.
Add a rule as follows:
Now from you host run:
https://apple.stackexchange.com/questions/235518/ssh-to-virtualbox-mac-host-linux-guest-using-nat
Install Guest Additions.
Install Extension Pack.
In your guest, create a folder to be used to mount the shared folder.
Power off the VM.
Open your VM settings and add a shared folder.
Turn on your VM.
Test mounting your folder.
Setup fstab.
Name
Protocol
Host IP
Host Port
Guest IP
Guest Port
SSH
TCP
<leave empty>
2222
<leave empty>
22