I don't think there is any solution using iptables. I personally use mod_proxy and virtualhosting on apache to distingusish what goes where. ==== Tomas Edwardsson HP-UX Certified System Administrator Red Hat Certified Engineer. Opin Kerfi On Mon, Sep 29, 2003 at 03:42:49PM +0330, Afshin Lamei wrote: > From: "Afshin Lamei" <linux_st@xxxxxxxxxxx> > To: netfilter@xxxxxxxxxxxxxxxxxxx > Subject: publishing 2 web server on one valid IP > Date: Mon, 29 Sep 2003 15:42:49 +0330 > > hi > I have 2 web servers in my DMZ. when there was one, I used DNAT to publish > the single web server on port 80 of the external interface of my firewall. > now I don't know how to distinguish between the requests of 2 web servers, > because I have only one IP address available for the external interface. > Is there any solution using iptables, to know that which http request must > be DNAT to which web server? > regards, > afshin > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail >