Faking Gateway

Olivier Nicole olivier.nicole at cs.ait.ac.th
Sat Nov 3 12:42:24 UTC 2012


Hi,
On Nov 3, 2012 7:36 PM, "Jos Chrispijn" <kernel at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list