From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 09:35:49 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 23C5D16A4CE for ; Wed, 5 Nov 2003 09:35:49 -0800 (PST) Received: from blacklamb.mykitchentable.net (207-173-254-228.bras01.elk.ca.frontiernet.net [207.173.254.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D70743FEC for ; Wed, 5 Nov 2003 09:35:48 -0800 (PST) (envelope-from drew@mykitchentable.net) Received: from l035522 (unknown [165.107.42.110]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id AB3DB3BF3B5 for ; Wed, 5 Nov 2003 09:35:46 -0800 (PST) Message-ID: <00d701c3a3c3$3ee06770$6e2a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: "FreeBSD Questions" Date: Wed, 5 Nov 2003 09:35:45 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Routing With Two ISPs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 17:35:49 -0000 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? Any suggestions appreciated. Thanks, Drew