Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have a basic home network setup of modem plugged into basic dhcp router that will allow port forwarding. I want to route to maybe port 80 or 8080 if possible, so that an ubuntu-server-virtualbox web-server is accessible to the WAN.
Does this pose any risk to the host machine?
Is this possible with a host-only adapter (through host files)?
And if i must change it to NAT, do i need to change the host file on both machines? Could i get an example if the host looks like ( to the rest of LAN), the virtual-machine has

share|improve this question
up vote 1 down vote accepted

Host Only will work with a bit of tweaking if you know how to set up routing.

The easiest would be to use Bridged Mode - the network sees the virtual machine as just another machine on the network - by far the simplest method.

And no, it poses no risk to the host machine.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.