It takes three lengthy commands to configure a port to be forwarded from the host machine to the guest OS in VirtualBox.  My guess is everyone who uses VirtualBox for any length of time writes these scripts to shorten the process.  Here are mine, in hopes it will save someone some time.

Note that these scripts only work while a VM is stopped.

Published by Avdi Grimm


  1. Just in case you’re not aware of it: the gists do not show in your feed (at least in Google Reader). Not crucial in this case, but might be good to know in the future.

  2. Online Article……

    […]The information mentioned in the article are some of the best available […]……

  3. Sites we Like……

    […] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose […]……


Leave a Reply

Your email address will not be published. Required fields are marked *