Hi,

I got a small problem of which im not sure how to go about it.
Say we have 2 links to different providers coming in to a machine.

The current situation is that mail comes in  and gets sent
through link1 (using sendmail)

I would like for mail to come in though link1 and get delivered
through link2 (that way, incoming traffic through link2 is minimized).


(note that i seem to use the term link to mean interface - ethernet etc
below)



Can this be done with the default route pointing at link2? 
Wouldnt there be a problem with this since if mx record points through
link1, then when trying to commununiicate with a client through link2
the machine would source the packets to appear to come from link2 and hence
the client would not recognise the packets.

Is there a way to tell linux to source outgoing packets with the
address of the link that it came in from? 


I believe the problem can be solved by having another sendmail machine
but i dont want to do this unless theres no other way.

Can ipchains help?

Or a NAT device?

Any help or suggestions on this matter?


In the end, the objective is to minimize incoming traffic going through link2

Regardss../
Wal


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to