Page 1 of 1

Networking question

Posted: 19. Aug 2008, 23:22
by supradave
If I set up a host interface (not NAT), and I set the interface to a non-routeable address (e.g. 192.168.0.1) and have eth0 on the vbox host a public IP, can I host a webserver on that vbox that would be publicly accessible?

I only have a few addresses and would like to not use them up if I have to.

Thanks,
Dave

Posted: 19. Aug 2008, 23:24
by Sasquatch
You have to look for internal routing for that to work. For example, route everything that comes in on port 80 on the Host to the interface address of the Guest system. This is not exactly a VB point, as it can also be done with a computer that has two interfaces and a computer behind it.