Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2012 19:42:23 +0700
From:      Olivier Nicole <olivier.nicole@cs.ait.ac.th>
To:        Jos Chrispijn <kernel@webrz.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Faking Gateway
Message-ID:  <CA+g+Bvig7Jsx6HoDw3W3U5sW3sPp4_z1MTpL8BETJSFzxto5Sg@mail.gmail.com>
In-Reply-To: <50950F77.9020803@webrz.net>
References:  <50950F77.9020803@webrz.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi,
On Nov 3, 2012 7:36 PM, "Jos Chrispijn" <kernel@webrz.net> 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"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CA+g+Bvig7Jsx6HoDw3W3U5sW3sPp4_z1MTpL8BETJSFzxto5Sg>