dcsimg
add a webserver and fire wall to a lan and maintain security by deviding the lan (webserver part, lan part)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   benny_shemesh
Posted On:   Friday, August 2, 2002 07:38 AM

networking linux as a web server Hi all, I want to add a web sever to an existing windows lan. As for now we use an ADSL connection with a router that is connected to the hub. each computer in turn including the server is connected to the hub. If I want to use some old 586 as a fire wall and add a web server, can I divide the lan so that all trafic will go to the fire wall first then if it is to the web server it will go there otherwise it will go to the other part of the lan people who surf the net?? What is the best way to add a web server and a fire wall?? Do I need to use 2 nic cards   More>>

networking linux as a web server



Hi all,



I want to add a web sever to an existing windows lan.

As for now we use an ADSL connection with a router that is
connected to the hub. each computer in turn including
the server is connected to the hub.




If I want to use some old 586 as a fire wall and add a web
server, can I divide the lan so that all trafic will go
to the fire wall first then if it is to the web server
it will go there otherwise it will go to the other part
of the lan people who surf the net??



What is the best way to add a web server and a fire wall??



Do I need to use 2 nic cards on the mechine who is the fire wall?





Is the sequence suppose to be
router --> fire wall --> web server
--> lan



or can it be:
router --> fire wall --> webserver --> lan



Thanks
B.S


   <<Less

Re: add a webserver and fire wall to a lan and maintain security by deviding the lan (webserver part, lan part)

Posted By:   Roeland_Lengers  
Posted On:   Wednesday, August 7, 2002 05:56 AM

Weird:



Is the sequence suppose to be router --> fire wall --> web server --> lan

or can it be: router --> fire wall --> webserver --> lan


Aren't both options exactly the same?



Anyway: in your case, putting the firewall on the same machine as the webserver is fine. Keep in mind that all other machines on the hub are already open to attacks anyway. Normally you would have the following setup:


"Internet" --> adslmodem --> linux machine --> hub --> local lan

The linux machine in this case would be functioning as a router, gateway and firewall. And yes: your Linux machine would be needing two nics to do that.

You could then host your website on this linux machine, or use port-forwarding and put it on some machine in your local lan.



Hope this helps.
About | Sitemap | Contact