Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2003 14:35:31 +0000
From:      Lewis Thompson <purple@lewiz.net>
To:        FreeBSD-questions <questions@freebsd.org>
Subject:   Complicated ipfw/ipf forwarding.
Message-ID:  <20031028143531.GH288@lewiz.org>

next in thread | raw e-mail | index | archive | help

--C94crkcyjafcjHxo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
------------------------------------------------------------------------
-| msn:purple@lewiz.net | jabber:lewiz@jabber.org | url:www.lewiz.org |-

--C94crkcyjafcjHxo
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/nn6zItq0KFQv7T8RAvIhAJ9hizg3IBi0AdQXGc5x6hRs6kJPewCgqIlN
VG9H4Oqz8vSbEXxOLhpr3IU=
=qPzv
-----END PGP SIGNATURE-----

--C94crkcyjafcjHxo--



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