Click to See Complete Forum and Search --> : Serving a web page on a linux box from behind a Windows 2000 professional system.


Ryan Fenton
06-12-2003, 04:50 PM
I've had quite an aventure so far installing Mandrake 9.1, MythTV, and several other things. Now I've got a simple remote administration page running on PHP and Apache called Mythweb, that allows me to control my mythtv recording schedule from anywhere on the LAN from a simple web browser. It's really neat.

Now I'd like to serve that same web page out to the internet. I'm having problems finding out how to do this however.

Here's my setup:

I have one Windows 2000 professional machine connected to a cable modem. This system can't be changed other than network settings. It has two network cards, one for the cable modem, and one for the internal network that allows internet sharing to the linux machine.

I've got a hub connecting the Win2k machine and the linux machine.

I've got the linux machine, which due to hardware limitations, can only have one network card. This prohibits it from being the direct server, unfortunately. It has the PHP files needed to configure the MythTV settings, which is the point of the exercise.

What would be some possible ways for the Windows 2000 professional machine to enable the linux machine to serve files?

Anything would work, from having a single port redirect to the linux box, to having a virtual server directory point to the linux box, etc. So long as the web page can get served and actually change the data on the linux box, I need some leads on where to look.

Rember, this is a Win2k Professional machine, not a server machine, but I can still install IIS, apache for windows, or whatever I might need on the W2k machine.

So, any ideas for this puzzle? Any similar experiences to share?

Thanks in advance!

Ryan Fenton

raz0rblade
06-12-2003, 05:07 PM
Portward port 80 to the linux box in the ICS setup on the ethernet card connected to cable modem in the network settings.

Ryan Fenton
06-12-2003, 06:11 PM
Portward? Well... I looked up forwarding IP addresses, but have had no luck discovering how exactly to do that on a W2k professional machine. Does anyone know how to do such a thing on a Win2k machine? Any other places to ask, perhaps?

Thanks!

Ryan Fenton

andysimmons
06-12-2003, 06:22 PM
Found this (http://www.informit.com/isapi/product_id~%7B3BD59E20-8ADA-4E5A-891E-7D9C76E2E628%7D/element_id~%7B284020F2-D47A-41D6-B800-6FCD38670F73%7D/st~%7B7AB7BEFC-9689-4F23-8CC1-03FC12A9479A%7D/content/articlex.asp) in a google search. I didn't read the whole thing but it looks like it'll answer your questions about port forwarding from within Win2k.

jbiggs77
06-18-2003, 12:05 PM
Ryan

I have been trying to get the same setup you have going to work ( Win2K box w/ 2 NIC's going into hub with linux box ).

I set the 2K box to port forward but I must be missing something, I was wondering if you could share your setup info with me.

Thanks!