Skip site navigation (1)Skip section navigation (2)
Date:      28 Oct 2003 17:36:12 -0500
From:      Frank Laszlo <laszlof@vonostingroup.com>
To:        Andras Kende <andras@kende.com>
Cc:        'FreeBSD-questions' <questions@freebsd.org>
Subject:   RE: Complicated ipfw/ipf forwarding.
Message-ID:  <1067380572.3789.13.camel@star.vonostingroup.com>
In-Reply-To: <200310282030.h9SKUd86000643@kende.dyndns.org>
References:  <200310282030.h9SKUd86000643@kende.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I suppose something like this might be possible with squid, Though im
not sure how to do it.

-Frank

On Tue, 2003-10-28 at 17:30, Andras Kende wrote:
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Lewis Thompson
> Sent: Tuesday, October 28, 2003 8:36 AM
> To: FreeBSD-questions
> Subject: Complicated ipfw/ipf forwarding.
> 
> Hi,
> 
> I have a public IP address and a couple of machines sitting behind a
> FreeBSD router doing NAT.  I'm using ipnat and ipf right now (although I
> used to use natd/ipfw so I don't mind switching -- I started using
> ipf/ipnat because of an odd problem with 5.1-RELEASE but I'm switching
> back to 4.9 now) and wondered if it was possible to do forwarding based
> on DNS.
> 
>   For example Apache is clever enough to support virtual hosts based on
> the address requested.  Is there any way at all to do this for
> forwarding on the router?  For example if I had three CNAMES for the
> same IP red, pink and blue.  Could I have red.foo.bar forwarded to
> 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar
> go to the local machine (i.e. the router)?
> 
>   Thanks very much,
> 
> -lewiz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1067380572.3789.13.camel>