All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Edwardsson <netfilter@tommi.org>
To: Afshin Lamei <linux_st@hotmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: publishing 2 web server on one valid IP
Date: Mon, 29 Sep 2003 13:29:04 +0000	[thread overview]
Message-ID: <20030929132904.GA24995@ok.is> (raw)
In-Reply-To: <Law15-F11L2m9lHiu3f0003d05e@hotmail.com>

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@hotmail.com>
> To: netfilter@lists.netfilter.org
> 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
> 


  parent reply	other threads:[~2003-09-29 13:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-29 12:12 publishing 2 web server on one valid IP Afshin Lamei
2003-09-29 12:38 ` Ray Leach
2003-09-29 13:29 ` Tomas Edwardsson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-29 23:43 George Vieira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030929132904.GA24995@ok.is \
    --to=netfilter@tommi.org \
    --cc=linux_st@hotmail.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.