Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

NATTing experiment: Is this possible?

Hello,

    I will preface this discussion by saying that I'm not sure if this is even possible. On my 5520 I am trying to use one NAT to route all inbound traffic to one private ip (SMTP) and using the same NAT point all outbound traffic from another private ip (SMTP. See attachment). If not I guess I would have to create two separate NAT's (one inbound to outbound and a separate outbound to inbound).

Thank you in advance for your suggestions!

1 REPLY
Cisco Employee

NATTing experiment: Is this possible?

If I understand correctly, I guess you can... however, SMTP Inbound connections of SMTP will always use the first NAT. Look at the example below:

object network smtp-server

host x.x.x.x

object network NAT-IP-1

host y.y.y.y

object network NAT-IP-2

host z.z.z.z

object service SMTP

service tcp destination eq 25

Nat (inside,outside) source static smtp-server NAT-IP-1 service SMTP SMTP

Nat (inside,outside) source dynamic smtp-server NAT-IP-2

That way, all inbound traffic for SMTP will use NAT-IP-1 and the rest of the outbound traffic from STMP server will use NAT-IP-2.

Let me know if that is what you needed.

Mike

Mike
236
Views
0
Helpful
1
Replies
CreatePlease login to create content