Forum Moderators: phranque

Message Too Old, No Replies

Dns Iptables 1

Dns Iptables 1

         

jamiedykes1

2:04 pm on Jun 28, 2005 (gmt 0)

10+ Year Member



Hi, I recently posted a topic on how to host several websites, on several servers in a LAN Environment. One suggestion was that I should use IPTABLES on a Linux OS to do this, however can someone please show me how this can be achievedm and perhaps explain how the Linux Web Server knows which server to point to. I wouldnt mind if someone gave me an example for the below scenario for instance:

WAN - Someone requests www.school1.co.uk - The DNS Server sends my WAN IP: 123.123.123.123 (Main Web Server) then this server somehow (Ip Packet maybe) distinguishes the request and sends it on to the correct internal LAN IP for www.school1.com.

Even if no one can fully explain this, please could i just have a command line for linux to create this?

This is also for a school project/ combined future income plan, so any help would be greatly greatly appreciated!

Thanks

Jamie

JKMitchell

7:46 pm on Jun 28, 2005 (gmt 0)

10+ Year Member



Try a search on Google for IPTABLES and look at the tutorial on result 3. Can't post the URL but the Google result ends with /iptables-tutorial.html - 511k

Good luck.