|
Posted by Barry Margolin on July 21, 2004, 6:47 pm
> Barry Margolin wrote:
>
> >
> >> Bellsouth recently changed their services down here, so that all
> >> outbound SMTP traffic has to go through their mail.bellsouth.net
> >> server.....
> >>
> >> What I would like to do, is to configure our remote 837 and 2621
> >> routers to either redirect all outbound smtp traffic (regardless of
> >> their original intended destination) to bellsouths mail server (
> >> 205.152.59.16 ), or at least redirect outbound traffic that would
> >> normally have been handled by our own offsite mailserver, to instead
> >> use bellsouths... ( all of this to avoid have to keep switching out
> >> default mail servers on our laptop users, etc).
> >>
> >> I am guessing that there are some commands utilizing ip nat outside,
> >> that would do the trick, but so far I have not been able to make
> >> anything work.... Any insight would be appreciated.
> >
> > I think NAT can only do this kind of port redirection for inbound
> > traffic, not outbound. *Maybe* there's some way to do it by pretending
> > that outside is inside and vice versa, but that won't work if you're
> > also doing ordinary NAT (since you need to identify inside and outside
> > accurately for that to work).
> >
>
> Would using PBR to redirect the packets and then setting up a static
> translation for the destination to the Bellsouth mail server work?
>
> I think this is doable, but I've only ever tried it with PBR and doing
> destination rewriting on the target host.
You might need to throw in NAT-on-a-stick (using a loopback interface)
to make the router act like the destination host.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
|