cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
0
Helpful
1
Replies

NAT destination IP address

LA-Engineer
Level 1
Level 1

I have this toplogy:

 

A ------ ASA -------- B

 

A's real IP is 1.1.1.1

B's real IP is 2.2.2.2

B's mapped IP is 3.3.3.3

 

How do I NAT it so that when A tries to connect to 3.3.3.3, the destination is translated to 2.2.2.2.  But at the same time, when B connects to A, it is using its real IP of 2.2.2.2 and is not NAT.

 

I have a problem where A is getting its DNS information from an external server which is resolving it to an external IP address.

 

Thank you in advanced!

1 Reply 1

LA-Engineer
Level 1
Level 1

I think I found the answer. The "unidirectional" keyword is what I needed.

nat (outside,inside) source static any any destination static MAPPED REAL unidirectional

Review Cisco Networking for a $25 gift card