I have a windows 7 host handling a VirtualBox debian guest with nat. This guest is running some web services reachable from the outside through port redirection.
I need to provide the external access to these services through urls, but I can't rely on a proper dns resolution, so I have to propagate the host ip to the guest environment. How could I do that with the minimal impact on the host?
Some clarifications: "the outside", "external access" refers to web browsers hosted at the same level as the host, ie. they can't only rely on the host address.
A drawing is worth a thousand words:
+--------------+ External
| Windows Host | network +---------------------+
| +----+ | | Web client |
| | | NAT | +----------------+ |
| | ------------------------> Page generated | |
| | | | | |by VM with URLs | |
| | VM | | | |to host | |
| | | | | +--------|-------+ |
| | | FWD | | |
| | <--------------------------------+ |
| | | | +---------------------+
| +----+ |
+--------------+