From mboxrd@z Thu Jan 1 00:00:00 1970 From: Blizzards Subject: Re: Iptables and various domains Date: Thu, 12 Dec 2002 10:29:29 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3DF856F9.3000002@libero.it> References: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: E-GIM Security Cc: netfilter@lists.netfilter.org This is not an iptables work. You can use iptables to DNAT your webserver1 and webserver2 port 80 to=20 internal webservers port 80, and use HTTPd (like apache, iis, netscape, zeus, ecc) + DNS to do a=20 name based virtual hosts resolving. Bye. G. > Hi, > > Can Iptables route by domains? For example, I have a webserver and my >firewall with iptables route all request on port 80 throw IP webserver. I >need add another webserver, and various domains (www.dom1.com, www.dom2.co= m) >will be redirect to webserver-1 and other domains (www.dom3.com, >www.dom4.com) will be redirect to webserver-2. Can IPTables help me? Which >is the solution) > > Thanks and sorry ... my english is very poor. > >Jos=E9 Antonio Garc=EDa Garc=EDa >Technical Internet Solutions > >E-GIM +34 952700010 >http://www.e-gim.es > > > > > =20 >