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 1.1.1.1 needs to be forwarded to 192.168.10.30, but any other smtp traffic needs to go to 192.168.10.31. 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)
Loading.
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


Jon

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

jon, thanks for your response.


1) an example source address would be 1.1.1.1

2) I would have a static such as static (inside,outside) tcp 208.24.37.11 smtp 192.168.10.30 smtp netmask 255.255.255.255. My MX record would be mail.mydomain.com 208.24.37.11

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

Actions

This Discussion