cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

1684
Views
0
Helpful
2
Replies
Highlighted
Beginner

Create U-Turn/Hairpin NAT for Single IP

Trying to figure out how to create a U-Turn so that a web server we have on our DMZ is accessible to all hosts (whether on the inside or another host in the DMZ) via its public IP.  See attached crude drawing.

 

We have split DNS for this particular zone, but we need to keep the A record for this particular host consistent inside and outside.  Ordinarily I'd just use the DMZ address on the internal zone, but the developer for a particular piece of software we are deploying insists that doing a u-turn is the only way to ensure it works properly.

 

Can anyone help me out with how to create a 1:1 NAT that is accessible by the outside IP no matter where the traffic originates?

2 REPLIES 2
Highlighted
Rising star

Hello,

 

This should be achievable - using following 2 things:

 

1. 'same-security-traffic permit intra-interface' command

2. create a NAT statement so that ASA proxy ARP for the public ip address on inside or dmz or any other interface:

For dmz users, the source and destination will be behind the same interface, so U-turning will be needed.

NAT(dmz,dmz,) source static <real ip> <mapped ip>

 

For users behind inside, 

NAT(dmz,inside,) source static <real ip> <mapped ip>

corresponding ACL might be needed.

 

Please try and test it out.

 

Regards,

Ajay

Highlighted

Thank you.  Had to tear down and move my lab, so once I'm done rebuilding it I'll give it a try.

Content for Community-Ad