From owner-freebsd-net Mon Oct 29 6:27:44 2001 Delivered-To: freebsd-net@freebsd.org Received: from rerun.lucentctc.com (rerun.lucentctc.com [199.93.237.2]) by hub.freebsd.org (Postfix) with ESMTP id 7D4A337B43B for ; Mon, 29 Oct 2001 06:27:28 -0800 (PST) Received: by rerun.lucentctc.com with Internet Mail Service (5.5.2653.19) id ; Mon, 29 Oct 2001 09:27:16 -0500 Message-ID: <3A6D367EA1EFD4118C9B00A0C9DD99D70651BE@rerun.lucentctc.com> From: "Cambria, Mike" To: "'freebsd-net@FreeBSD.ORG'" Subject: RE: Port-based routing? Date: Mon, 29 Oct 2001 09:27:15 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I think ipfw can do this. At least the man page reads like it does. = There is a "fwd" action which will change the next hop to something you = specify. I've been meaning to try it myself but just never had a reason. MikeC Michael C. Cambria Avaya Inc. Consulting Engineer Former Enterprise Networks Group voice: (978) 287 - 2807 of Lucent Technologies fax: (978) 381 - 6415 300 Baker Avenue email: mcambria@avaya.com Concord, Massachusetts 01742 -----Original Message----- From: Oliver Fromme [mailto:olli@secnetix.de]=20 Sent: Friday, October 26, 2001 7:15 PM To: freebsd-net@FreeBSD.ORG Subject: Port-based routing? Hi, Is there a way in FreeBSD to route packets based on the destination port number? (I'm asking this on behalf of a friend, not for myself.) This is the setup: There are two uplinks, the first is via a ADSL connection (ppp running on tun0, using PPPoE), the second is via a normal ethernet interface (dc0, which has a slower SDSL router connected). They have different IP addresses, of course. Now he would like to direct web traffic (i.e. port 80) to tun0, and everything else to dc0. Is this possible with FreeBSD at all? Thanks in advance for any hint and advice! Regards Oliver --=20 Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 M=FCnchen Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message