From owner-freebsd-questions@FreeBSD.ORG Sat Nov 3 14:51:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86F23B4A for ; Sat, 3 Nov 2012 14:51:51 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 127028FC08 for ; Sat, 3 Nov 2012 14:51:50 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id x43so2486323wey.13 for ; Sat, 03 Nov 2012 07:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=jsisKlV3QT48HzTVg0kNwqyP86SCwSxAWBwyW6Ax1og=; b=w8p1W7ohiw79lSvP7l/KBL97JPFAUvdRuzLNrNzCalXI6dgizHAZesZbjv2cK9xwgT Govn/vC+/low2owpt5Ypn3ut+wOg9ui4wkVmebyov4ZHJCyHolHfjTdlfb3wnAn6E0EA w8HNrP3Wygs9HAQk+0NxMBUW2Eq7GZIN8DWlvo4CCpmGRmzWxrd001GbSoe3IEin6hxO wksvJV5Ja2JAIY+Krv2btGJdDodDcGr9UZbHF+2YQFw1Af7JUUat5QjYx3aebtUqHWF2 oGzbU6gxiZmUgOf2J3djyrpZ+cZspdS1yY8o3wnM9Hr432vyKPQRc38cquCmkWu7o5Xo vb6A== Received: by 10.216.193.227 with SMTP id k77mr1480364wen.178.1351954309928; Sat, 03 Nov 2012 07:51:49 -0700 (PDT) Received: from [10.42.42.42] ([82.237.197.209]) by mx.google.com with ESMTPS id dq6sm2653034wib.5.2012.11.03.07.51.48 (version=SSLv3 cipher=OTHER); Sat, 03 Nov 2012 07:51:48 -0700 (PDT) Message-ID: <50952E32.208@gmail.com> Date: Sat, 03 Nov 2012 15:46:10 +0100 From: Samuel Martin Moro User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120724 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Faking Gateway References: <50950F77.9020803@webrz.net> In-Reply-To: <50950F77.9020803@webrz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 14:51:51 -0000 On 11/03/2012 01:35 PM, Jos Chrispijn wrote: > I have two gateway ip's in my network: > G1 = 8/1m and G2=50/10m. > Server1 (S1) is connected to G1 and all network clients are connected > to G2. > As I sometimes have a lot of ports to download, I thought, let's > change the gateway address of S1 to G2. That really works regarding > the FTP part, but regarding my mail it is not (logically I am now > presenting a domain name that doesn't match its ip address as it is G2 > instead of G1). > > Is there a way of switching to the 'fast' gateway with ftp traffic > only (like port updates and manual outward/inbound ftp requests) and > have outbound email follow the (standard) G1)? > > Kind regards, > Jos Chrispijn > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hi, Some 'match out on $netif to $ext_net port smtp route-to ( $netif $gw_1m )' should work. Regards.