Complicated ipfw/ipf forwarding.
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Tue Oct 28 08:19:10 PST 2003
'Lewis Thompson' <purple at lewiz.net> writes:
> On Tue, Oct 28, 2003 at 09:39:23AM -0500, Jason Lavigne wrote:
> > > 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
> >
> > wouldn't you use DNS (bind) for this?
>
> How? I only have one external IP address (say 1.2.3.4) but behind the
> NAT machine I have many. However, I have a.foo.com, b.foo.com and
> c.foo.com. I want some IP forwarding software to rewrite the
> destination address from 1.2.3.4 based on the CNAME entry (in the same
> way Apache can do).
How would the IP forwarding software *know* about the CNAME entry?
In Apache's case, the HTTP request tells it, but other protocols don't
necessarily include the domain name that the client is using.
More information about the freebsd-questions
mailing list