redirect traffic to certain interface
linux at epa.com.ve
Wed Sep 29 17:40:48 CEST 2004
THANXS! =) i will check it out!
On Wed, 2004-09-29 at 11:33, Jason Opperisano wrote:
> On Tue, 2004-09-28 at 10:04, Victor Medina wrote:
> > I have a gateway server, that runs a proxy server, and a smtp. This
> > server has 3 interfaces, two interfaces connected to internet with two
> > different server providers and the other one is for the internal
> > network.
> > What i would like to do, is send all outgoing smtp traffic which is
> > generated by the smtp server to one specific interface (eth2). The
> > problem is I just don't know who to tell the iptable how to let the smtp
> > server recieve all incoming traffic to the smtp server, and then forward
> > all outgoing traffic to the especific device.
> > In this case, all incoming smtp traffic generated by our internals
> > clients reach the smtp server for distribution using device eth1, then
> > (i would like to) let the smtp server use ONLY the eth2 to forward mail
> > to the rest of the servers in internet.
> > Can i do this? How can i do this?
More information about the netfilter