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'm trying to set up an Ubuntu server in VirtualBox.

The host is Windows 7 x64.

enter image description here

The guest is Ubuntu 11.10 x64.

I want to make this server accessible from the internet. How can I do it?

share|improve this question
Can you already access the Ubuntu server from your host OS? What are your IP settings for both host and guest? Which services do you want to make accessible? – slhck Jan 27 '12 at 18:45
up vote 0 down vote accepted

This is largely depending on how you set the networking for your VM. If you have set it to NAT, you will have to configure port forwarding in VirtualBox.
If you have set it to Bridged, you will have to set up routing between the VirtualBox networking adapter and your physical network adapter. But that shouldn't be a VirtualBox-specific issue.

share|improve this answer
Wind 7 machine has external ip. but when I try to bridge it, guest os - ubuntu doesn't detect network at all – Tural Aliyev Jan 27 '12 at 19:11
@TuralTeyyuboglu Sadly, I'm having issues with VirtualBox right now myself (won't start). Without being able to verify my assumptions, I can't be of any help. – Oliver Salzburg Jan 27 '12 at 19:49

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.