04-14-2015 10:01 AM - edited 03-11-2019 10:46 PM
On an ASA 5510 running version 8 something, this worked:
static (inside,outside) tcp <OUTSIDE IP ADDRESS> www <INSIDE IP ADDRESS> 8080 netmask 255.255.255.255
Allowing me to redirect incoming port 80 traffic to to port 8080.
What is the correct method for doing this with the wonderful new 9.2(4) version running on an ASA 5515-X?
Thanks.
04-14-2015 11:05 AM
There are a couple of ways to do it with post 8.3 NAT and it's to do with NAT ordering which is very different now.
This is the recommended way -
object network <NAME>
host <INSIDE IP ADDRESS>
nat (inside,outside) static <OUTSIDE IP ADDRESS> service tcp 8080 80
but be aware this may or may not work depending on what other NAT rules you have and in what section they are, usually to do with where your general dynamic NAT for internet access is.
See this document which explains the ordering and the reasons to use certain sections for specific NAT rules -
Edit - if it's still not clear then by all means come back.
Jon
04-15-2015 09:35 AM
Thanks Jon, I'll give this a try.
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