Redirect Outbound SMTP Traffic to Specific Server - 837 and 2621

Redirect Outbound SMTP Traffic to Specific Server - 837 and 2621

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Redirect Outbound SMTP Traffic to Specific Server - 837 and 2621 Andrew Albert 07-21-2004
Posted by Andrew Albert on July 21, 2004, 5:15 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
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.


-=Andy




Posted by Barry Margolin on July 21, 2004, 6:28 pm

> 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).

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Posted by Paul S. Brown on July 21, 2004, 11:33 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.

P.


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 ***


Similar ThreadsPosted
outbound port 80 redirect to specific destination address February 28, 2008, 1:07 am
redirect traffic on specific ip to specific interface June 3, 2005, 12:51 pm
How to Block all outbound SMTP except Exchange Server July 20, 2007, 5:37 pm
how to route traffic from server via specific static IP? May 1, 2008, 8:55 pm
PIX 501 - Redirect VPN traffic to another WAN IP January 24, 2006, 11:01 am
How to redirect ftp port for inbound traffic? August 21, 2006, 2:50 am
Monitoring specific traffic. October 3, 2006, 3:31 am
Control Outbound traffic November 15, 2004, 10:54 am
PIX - Deny outbound traffic March 12, 2005, 1:32 pm
Can i forward all the traffic to a specific website? November 9, 2005, 11:10 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map