Author Topic: Web Server !  (Read 521 times)

foobar

  • Member
  • **
  • Posts: 308
  • Kudos: 0
    • http://www.fuckmicrosoft.com
Web Server !
« on: 7 June 2002, 00:24 »
Hi. I gotta question :

Imagine that you'd have three computers and one ADSL internet connection.

You'd want the first computer to be linked to the ADSL modem.
You want it to serve as a firewall and webserver.

You'd want the other two computers linked to the first, by an ethernet LAN. All computers have an ethernet card installed.

You'd want the first computer to run Linux, and the other two some M$ crap-OS.

Is this possible? Can the two M$ pc's still use the ADSL connection?
If yes, could you please tell me how to get the firewall and the webserver (apache ??) started ?

Thanks,
Linux user #283039

Gosh, I love Linux Quake.


Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Web Server !
« Reply #1 on: 7 June 2002, 00:47 »
this almost exactly what i have. I have four PCs though.
The best way to do this (in my opinion) is to connect the ADSL to you server (the linux computer) and then get a hub and connect all three of the computers to the hub. Then set-up a proxy server on your server and setup a webserver and setup a firewall. Tell the other computers to use the proxy server. To answer your actual question; yes it can be done.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

foobar

  • Member
  • **
  • Posts: 308
  • Kudos: 0
    • http://www.fuckmicrosoft.com
Web Server !
« Reply #2 on: 13 June 2002, 16:50 »
Oh, i forgot:

How can i (under linux) set up the webserver to be a proxyserver ? or isn't it necessary ?
Linux user #283039

Gosh, I love Linux Quake.


voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Web Server !
« Reply #3 on: 13 June 2002, 20:20 »
Do you mean a reverse proxy to make your Web Site faster?  Or a proxy for your client machines to go through and access the outside world with your restrictions added?  If it's the latter (or even the former) you can use Squid for this.  If it's the former, Apache has accelerated proxying built in and all you have to do is turn it on in the config (and read the docs).  Squid is a VERY powerful proxy. I suggest reading up in it at http://www.squid-cache.org/

Squid should have come with your distro...
Someone please remove this account. Thanks...

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Web Server !
« Reply #4 on: 13 June 2002, 20:50 »
quote:
Originally posted by -=f00bar=-:
You'd want the first computer to run Linux, and the other two some M$ crap-OS.



I realise that this is no help at all, but i'd actually want the first one to run linux, the second to run BSD and the third to dual boot with linux and win2000 (or just linux) so the M$ so called OSs would not enter the picture at all...

i know it's no help, sorry.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Web Server !
« Reply #5 on: 14 June 2002, 06:14 »
you could also use ummm.... there is a very small linux version that fits on a floppy that is only used for networking, routing, firewall,webserver, and proxy. I am thinking about using it for my server. It has its own microproxy and microwebserver and microrouting and firewall.

But Squid and Apache *should* be easy to get to work together on a computer.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'