08-03-2007 12:11 PM
probably a real simple question: I have a router-ASA combination. The router's WAN interface has a public IP 123.45.67.89 and there is a small stub 192.168.1.x network in between the router and the ASA and finally the web server at 172.16.1.16 I've never done double-NAT before and I can't think of any reason that it shouldn't work, but I thought I'd do a quick post here to see if the standard NAT work should across the two devices to get to an IP on the inside LAN of the ASA? (I know it would be easier to change the ASA to be in transparent mode and not do double NAT at all, but I'm not allowed to do that)
On the router, I'll have:
ip nat inside source static tcp 192.168.1.2 80 123.45.67.89 80 extendable
On the ASA, I'll have:
static (inside,outside) tcp 192.168.1.2 www 172.16.1.16 www netmask 255.255.255.255
Will this work?
Any "gotchas" that I need to know about?
08-03-2007 11:50 PM
Hi Thomas
If the application is fine with NAT then using NAT twice will have no impact, it should work fine.
We have to do this a number of times and it's fine although as you say there is usually a cleaner way to do it.
HTH
Jon
08-04-2007 09:11 AM
Thomas,
I agree with Jon that it should work fine as long as the web application doesn't timeout due to any delay in additional processing by either the router/ASA. Under normal situation NAT processing on both devices should be very quick (in microseconds). The whole NAT process would be transaparent to the TCP end devices.
HTH
Sundar
08-06-2007 04:46 AM
Hi Mate
I've used double NAT quite a few times in the past and have never had any issues, but as the other lads have said - you need to make sure that the apps are NAT friendly.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide