Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2012 15:46:10 +0100
From:      Samuel Martin Moro <faust64@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Faking Gateway
Message-ID:  <50952E32.208@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
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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?50952E32.208>