From owner-freebsd-net Fri Oct 26 16:15: 9 2001 Delivered-To: freebsd-net@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id CEDC437B401 for ; Fri, 26 Oct 2001 16:15:05 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id f9QNF4x91658; Sat, 27 Oct 2001 01:15:04 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Sat, 27 Oct 2001 01:15:04 +0200 (CEST) Message-Id: <200110262315.f9QNF4x91658@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG Reply-To: freebsd-net@FreeBSD.ORG Subject: Port-based routing? X-Newsgroups: list.freebsd-net User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 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 -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München 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