From owner-freebsd-questions@FreeBSD.ORG Fri Nov 7 06:02:08 2003 Return-Path: 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 C57A416A4EB for ; Fri, 7 Nov 2003 06:02:08 -0800 (PST) Received: from be-well.no-ip.com (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2572243F3F for ; Fri, 7 Nov 2003 06:02:08 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.no-ip.com (Postfix, from userid 1147) id 79B723B09; Fri, 7 Nov 2003 09:02:07 -0500 (EST) Sender: lowell@be-well.ilk.org To: "Drew Tomlinson" References: <00d701c3a3c3$3ee06770$6e2a6ba5@lc.ca.gov> From: Lowell Gilbert Date: 07 Nov 2003 09:02:07 -0500 In-Reply-To: <00d701c3a3c3$3ee06770$6e2a6ba5@lc.ca.gov> Message-ID: <44vfpwgtuo.fsf@be-well.ilk.org> Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD Questions Subject: Re: Routing With Two ISPs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 14:02:08 -0000 "Drew Tomlinson" writes: > I have a 4.8 box serving as a gateway with two connections to the > Internet. Is there some way to set the box up so that packets are > routed out through the same interface from which they arrived? For > example, if a connection is initiated on port 80 from a packet arriving > on one interface, is there a way to make the outgoing packets from my > web server use that same interface as a gateway instead of the default > interface? Strictly speaking, this wouldn't be IP. There are a number of ways to hack something like this, but bear in mind that they all really are hacks. The "non-hack" way to do it would be to run real routing protocols, but that requires cooperation from the ISPs...