Date: 28 Oct 2003 11:19:08 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: 'Lewis Thompson' <purple@lewiz.net> Cc: 'FreeBSD-questions' <questions@freebsd.org> Subject: Re: Complicated ipfw/ipf forwarding. Message-ID: <44oew1cp37.fsf@be-well.ilk.org> In-Reply-To: <20031028144509.GM288@lewiz.org> References: <20031028143531.GH288@lewiz.org> <001101c39d61$4778bf30$0501a8c0@canada> <20031028144509.GM288@lewiz.org>
next in thread | previous in thread | raw e-mail | index | archive | help
'Lewis Thompson' <purple@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44oew1cp37.fsf>