Alter destination based on source address

Unanswered Question
Mar 12th, 2009
User Badges:

Ok so I've got an ASA 5510 with 8.0(4) installed. The situation I've got is I need to alter the destination of smtp traffic based on the source of the traffic. For example, any smtp traffic coming from needs to be forwarded to, but any other smtp traffic needs to go to I was thinking of Modular Policy Framework or a route-map, but I cannot find a suitable solution with these tools. Should I throw a router in front of the ASA and set the next hop from a route-map?? Thanks for your help.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jon Marshall Thu, 03/12/2009 - 15:55
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Can you give a bit more detail in terms of

1) source IP addresses the smtp traffic is coming from

2) destination address that the smtp traffic is going to


gesadmin1 Thu, 03/12/2009 - 16:05
User Badges:

jon, thanks for your response.

1) an example source address would be

2) I would have a static such as static (inside,outside) tcp smtp smtp netmask My MX record would be

If traffic fomes in sourced from I want to redirect that smtp traffic to a different internal address of All other smtp traffic can be forwarded to the address. I hope this makes sense. Thanks again.


This Discussion