From owner-freebsd-ipfw@FreeBSD.ORG Wed Sep 6 19:56:28 2006 Return-Path: X-Original-To: ipfw@freebsd.org Delivered-To: freebsd-ipfw@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 636A016A4DA for ; Wed, 6 Sep 2006 19:56:28 +0000 (UTC) (envelope-from vladone@spaingsm.com) Received: from mail.spaingsm.com (llwb135.servidoresdns.net [217.76.137.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DF1143D46 for ; Wed, 6 Sep 2006 19:56:27 +0000 (GMT) (envelope-from vladone@spaingsm.com) Received: from localhost (unknown [88.158.112.6]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.spaingsm.com (Postfix) with ESMTP id 1CCB324C67A for ; Wed, 6 Sep 2006 21:13:46 +0200 (CEST) Date: Wed, 6 Sep 2006 22:56:34 +0300 From: vladone X-Mailer: The Bat! (v3.80.03) Professional X-Priority: 3 (Normal) Message-ID: <1902833769.20060906225634@spaingsm.com> To: ipfw@freebsd.org In-Reply-To: <04C71268DFDAA8499EC1A248A44B6A2B05976127@Exchange21.EDU.epsb.ca> References: <04C71268DFDAA8499EC1A248A44B6A2B05976127@Exchange21.EDU.epsb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: FW: Two ISP connections with Natd X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vladone List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 19:56:28 -0000 Hello Kirk, Wednesday, September 6, 2006, 3:33:30 AM, you wrote: >> >>Dear All, >> >>I am running freebsd as getway for my office. I Just acquired second > Internet last week. I wonder if there >is a way trhough route add -net > and ipfw I can manipulate my traffic in a such way that some traffic to a >>selected network can go through one ISP while the rest goes through > the default gateway. I am using natd and my FreeBSD box has got 3 NICs, > one for internal network and other two for each ISP. > Yes, This can be done. If you are using ipfw and natd then you have to > run two instances of natd (on separate ports), one on each external > interface. The ipfw firewall rules get a little tricky but you have to > create rules to catch the incomming and outgoing traffic through each > external interface and direct it to the right instance of natd. Once > this is done then just direct your routes out the interface that you > want. > ---- Kirk > > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to > "freebsd-ipfw-unsubscribe@freebsd.org" Read this : http://www.mail-archive.com/freebsd-ipfw@freebsd.org/msg00642.html -- Best regards, vladone mailto:vladone@spaingsm.com