LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   making a webpage server and home network server on the same computer (https://www.linuxquestions.org/questions/linux-networking-3/making-a-webpage-server-and-home-network-server-on-the-same-computer-91639/)

ferretmanus 09-11-2003 09:49 AM

making a webpage server and home network server on the same computer
 
okay, i have had a small network in my room already for writing webpages, i love doing it, im the senior webpage editor for my school, ect....

but now i want to make a webpage server using linux, ive been researching and learning linux so im not a fullbred newbee, but im still young at it, and also have my other 2 computers running out of the linux host under a firewalled server.

ive scrounged a few old parts, an old compaq presario that im just using the board and the psu out of, 2 extra network cards. a network hub, ect..

the other 2 computers are running xp pro, so ive come up with this idea as a server configuration,

the line from the cable is coming into the linux server, which will be hosting my webpage, then another line comes out of that into my hub, which will then run into the two xp computers, which i can set to run out of another computer, blah blah blah. how would i set up the linux programming to run all of that and which one do you recomend to do it all? i have current versions of redhat, slackware, and mandrake.

ppuru 09-11-2003 10:45 AM

Your network setup looks good.

On the LiGNUx server, you will need to turn ip forwarding on if you want to allow your XP users unfettered access to the net.

edit your /etc/sysctl.conf and set the ip_forwarding parameter to 1.

You will need to set up iptables (lot of good docu. at www.netfilter.org).

DNS Server to help your XP boxes.
squid to setup a proxy.
apache server to host your website.


All times are GMT -5. The time now is 05:37 PM.