TurnKey Linux Virtual Appliance Library

Acsessing LAMP from the outside via one IP with the host?

 Hello,

I have this problem. I have a windoes PC with a public IP address, I want to use Turnkey LAMP in a virtual box inside the windows. I want to be able to publish websites inside the LAMP so they can be acessible from the internet. What king of networking I have to setup so this wold be possible? I tryed NAT but it doesnt work... I have MAC pc on witch I am tasting the configuration and I tink to move the ready virtual machine to the windows box.

Any advice wold be aprisiated.

Jeremy's picture

Port Forward!

You will need to port forward and AFAIK NAT is the only option (although perhaps others will prove me wrong).

When you say NAT didn't work, I'm assuming you used VirtualBox's builtin NAT using instructions such as these or these?

I suggest you have a look at the official VirtualBox NAT documentation. If you still cannot get it working, I would suggest posting on the VirtualBox forums. And if all else fails, log a bug on the VirtualBox bugtracker.

Good luck!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)