From owner-freebsd-questions Thu Jul 4 11:18:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 990FD37B400 for ; Thu, 4 Jul 2002 11:18:23 -0700 (PDT) Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6DBC43E3B for ; Thu, 4 Jul 2002 11:18:22 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id g64Il4F49859; Thu, 4 Jul 2002 13:47:05 -0500 (CDT) (envelope-from nick@rogness.net) Date: Thu, 4 Jul 2002 13:47:04 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Nils Vogels Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Source based routing In-Reply-To: <20020704173258.GH69958@amor.yuckfou.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 4 Jul 2002, Nils Vogels wrote: > Hi there! > > For my home situation I'll soon have two permanent connections, both > terminating on one firewall. > > On that firewall I'd like to do source-based routing, ie determine > which perm. connection it has to go to, on the bases of source IP. > > Example: Host X is the firewall, host Y is my mail server, host Z is > my workstation. Connection A is a cable connection, connection B is an > ADSL connection, their bandwidth is not equal. > > When host Z wants to connect to the internet, I would like it to > travel over to connection B, but when host Y does, I would to have > this travel connection A. > > Now my main question is: How do i configure host X, which is FreeBSD > 4.6-RELEASE ? ;-) > > Thanks in advance for any hints/tips Use `ipfw fwd` to do this. man ipfw. Nick Rogness - Don't mind me...I'm just sniffing your packets To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message