From owner-freebsd-questions Wed Aug 28 13:49: 3 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 F41EF37B400 for ; Wed, 28 Aug 2002 13:49:00 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2806943E72 for ; Wed, 28 Aug 2002 13:49:00 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7SKmnmg003165; Wed, 28 Aug 2002 21:48:49 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7SKmigg003164; Wed, 28 Aug 2002 21:48:44 +0100 (BST) Date: Wed, 28 Aug 2002 21:48:44 +0100 From: Matthew Seaman To: Diego Linke - GAMK Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IPFW Multi link Message-ID: <20020828204844.GC2892@happy-idiot-talk.infracaninophi> References: <20020828161924.GA207@calnet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020828161924.GA207@calnet.com.br> User-Agent: Mutt/1.5.1i 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 Wed, Aug 28, 2002 at 01:19:24PM -0300, Diego Linke - GAMK wrote: > I need that all trafic destination for SMTP port (25), out via link > xl1 (default gateway is the link on xl0). That's known as "Policy based routing". You can implement it on FreeBSD using the 'forward' command of IPFW. See, for instance: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2622834+2627591+/usr/local/www/db/text/2002/freebsd-questions/20020818.freebsd-questions Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message