Skip to content

Instantly share code, notes, and snippets.

@strika
Created April 4, 2013 17:19
Show Gist options
  • Save strika/5312248 to your computer and use it in GitHub Desktop.
Save strika/5312248 to your computer and use it in GitHub Desktop.
VirtualBox port forwarding
VBoxManage modifyvm "mybox" --natpf1 "rails,tcp,,3000,,3000"
VBoxManage modifyvm "mybox" --natpf1 "guestssh,tcp,,2222,,22"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment