From owner-freebsd-questions@FreeBSD.ORG Sat Nov 3 12:42:24 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 3AD265E7 for ; Sat, 3 Nov 2012 12:42:24 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 02EEF8FC08 for ; Sat, 3 Nov 2012 12:42:23 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so3186174pad.13 for ; Sat, 03 Nov 2012 05:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=h/NRnPCcIVVcA//+mCoVA1WkS+iIctaX0MFyjckUi1U=; b=pnPK/b42K1y30Oi+YO0CHIk+J1nq0uLz0Cn9/k2eMbR5v2U3xV5RegCIrVWiYqGm2o q2EpKNzHhcSJ3BWRNEpwnPmMx04wtC76Zrpajd0EnHo6dhiz6IYvRu5vnR9XuDoJJY6z 2rmB0ArNE/brqRr2tq9OMs0UH3OzfFBOGvncVhFL27T9LJHGU9lki4pnyDSbSCVt6+3/ bSe0wP6N3sFnGCTtsQOg7OqLfaxMs21ukNfxPrrD1GEYLsFlXP1hDUzIvAXATYxD0428 pTyTipcVDxkWKbUwHvuRVkxngHq8Wso9Ak8RMi/hJq9BNjx6oQQxsHWQ2qI9TuFuZrBP Vw2A== MIME-Version: 1.0 Received: by 10.68.231.41 with SMTP id td9mr14847347pbc.128.1351946543772; Sat, 03 Nov 2012 05:42:23 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.66.251.132 with HTTP; Sat, 3 Nov 2012 05:42:23 -0700 (PDT) Received: by 10.66.251.132 with HTTP; Sat, 3 Nov 2012 05:42:23 -0700 (PDT) In-Reply-To: <50950F77.9020803@webrz.net> References: <50950F77.9020803@webrz.net> Date: Sat, 3 Nov 2012 19:42:23 +0700 X-Google-Sender-Auth: lk_4RGBAaqMlF8XNSQVwr8BtF8Y Message-ID: Subject: Re: Faking Gateway From: Olivier Nicole To: Jos Chrispijn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org 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 12:42:24 -0000 Hi, On Nov 3, 2012 7:36 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)? If your fast gateway has a proxy feature, it is very easy, only have to declare the env variable HTTP_PROXY and FTP_PROXY to point to that proxy. Hopee that helps. Olivier > 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"