Page 1 of 1

Mixed question

Posted: 8. Oct 2008, 23:59
by guro
Hi all, i labeled the topic 'mixed question' cause it's not only about virtual box...
Fisrtly i have installed the new version of VirtualBox in a windows XP SP2 i have. The virtual machine is also a windows XP SP2. I will refer to the first as xp and the latter as vm-xp. In my vp-xp i have installed easyphp in order to make some tests with a personal server i want. Also i have a DNS account in the no-ip let's say it's the 'vb.no-ip.org' . In xp i have zonealarm pro and the router is netgear(cable).Ok here is my problem:
I want to access the server in vm-xp when i type my dns account in the browser, thus making it accessible from the internet not only local. I have made the appropriate configurations in the zonealaram, i have closed the windows firewall both xp and vm-xp, and forward the ports in the router. The router gives the 192.168.0.5 ip in the xp and i have configured the vm-xp's networking in host option and i bridged the real and virtual interface so the router gives the 192.168.0.4 to vm-xp and the bridged interface is in 192.168.0.3 which becomes the xp's ip. Now i load the updater from no-ip to vm-xp and add a new host let's say 'vir.no-ip.org'.What i want is whenever i type in the url of any pc either virtual or real the above address to enter to the index page of the vm machine;s server (easyphp). Something goes wrong. So is it possible? If so, can someone give me the details i miss. Note the external ip is one: Modedit: removed the IP address for security, the dns account are two but refer to the same address, and finally the router gives two internal addresses one for xp and one for vm-xp.
Sorry for my English, maybe does the problem appear more compicated than is.Any help/ideas desirable!

Posted: 9. Oct 2008, 00:27
by Sasquatch
First check if your HIF is working correctly. Can you open the page using the local IP of the VM from the Host system? If you can, than that is working as it should. Next is the port forwarding. You have to specify the port you want to connect to if it's something different than port 80. You also need to make sure that it actually points to the VM IP, not your Host IP.

Posted: 9. Oct 2008, 00:34
by guro
Thanks for ur time to read my problem and thanks for the advice. Indeed i made wrong configuration with the router. Now fixed it and works.Thanks again :)

Posted: 9. Oct 2008, 23:55
by guro
F**** everything goes well if i access the server from inside LAN, but when try to connect from another computer nothing happens :( .Any ideas why?

Posted: 10. Oct 2008, 00:42
by Sasquatch
Seems like your router port forwarding is still wrong. You did set the Guest IP for it right? If you like, I could help you setting it up externally, if I can have access to your internal network (router and VM settings). I might see something you missed. Of course, this is all done while you are watching. PM me if you accept my offer, we can continue from there. Do note that not always online (especially during the day from Monday till Friday). And you have to consider the timezone.

Posted: 10. Oct 2008, 19:49
by guro
I pm'ed u, but i think the router's configuration is ok.I mean the port HTTP is forwarded to the correct local ip that corresponds to the guest xp.Also the settings of the virtualbox are seem correct as it connects generally to the internet and the LAN is accessible from inside. The problem is when i try to connect from the outside. Maybe i have done wrong to the config file of apache, i don't know :(