Tuesday 8 January 2013

Virtualbox networking

Set up an Ubuntu server. call it psy. You should be able to ssh out from the box to the outside world. The problem is getting in.

VBoxManage modifyvm "psy" --natpf1 "guestssh,tcp,,22,,2222"
VBoxManage modifyvm "psy" --natpf1 "guesthttp,tcp,,8000,,8000"
VBoxManage modifyvm "psy" --natpf1 "guestjenkins,tcp,,80,,8080"

[],tcp|udp,[<hostip>],<hostport>,[<guestip>], <guestport>

See also http://www.virtualbox.org/manual/ch06.html. It may be that this is more effective than http://tim-pizey.blogspot.co.uk/2011/08/alfresco-setup.html

No comments:

Post a Comment