Solved

ASA 9.1 NAT basic understanding

Posted on 2014-11-26
2
384 Views
Last Modified: 2015-01-19
Hi,

on ios 9.1 - im confused about  nat - I have a statement for example that forwards (port forward in a sense) port 80 that hits an "outside" public IP object - forwards to an inside object (inside LAN) Please disregard the poor security design of doing this - the question is for my understanding of nat on 9.1

eg   object network insidewebserver
 nat (inside,outside) static outsideobject service tcp www www

it works   - however my confusion in understanding is the "nat(inside,outside) order.  It has inside first and then outside. Why?  the traffic would be coming from the outside first - Joe Smith on the internet would hit the "outside on http and then forward to the inside object.  I thought the order of (inside,outside) meant that traffic flow means "in" on inside first and then "out" on the outside. Or is that old way pre 8.3 ios thinking. -  my question is really to understand the order of nat (inside,outside) and whether it is important for nat on asa 9.1 hardware  model 5515 thanks.
0
Comment
Question by:philb19
2 Comments
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 40469362
Normally NAT is on an IP basis and doesn't care about which port, service, or direction the flow starts in. I only include the service if there is something special going on like you need to have 1 public IP point to different private IP depending on the port, or you need to translate 1 port to another. For classic NAT the NAT rule sets up the translation and an ACL controls the traffic. Even with your NAT rule you still need to configure the ACL on the outside interface to permit the tcp/80 traffic inbound.

The order of the objects in the NAT is from the higher security interface to the lower security interface, and is not related to where you expect the flow to originate from. I think it has been that way for at least 15 years. One possible issue with your NAT statement is that unless you have another NAT statement covering your server your server can't access the Internet unless the origination port is tcp/80. If there is another NAT you would see that the webserver has a different public IP than the one in your example because that only covers port 80.
0
 

Author Comment

by:philb19
ID: 40469878
Thanks for comment. I did some reading to find answer myself. Basically what I found is that the NAT on ASA is bidirectional.(basically what you have said :)   ) Also the order is "real" and then "mapped"  so real is the inside   and then mapped is the outside.  For IP address's this is reversed in the NAT statement. - So i think biderectional is the key. - if i was on the internal webserver itself surfing the net on 80 then its internal IP wold be natted to the outside IP specified in the NAT for port 80.

I got on to the internal webserver and checked this out
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
iPad Won't Connect 16 42
cisco VIRL 3 23
EIGRP on point-to-point vlan 14 28
Move configuration from Cisco 3560 to 3750X 6 18
Hi All,  Recently I have installed and configured a Sonicwall NS220 in the network as a firewall and Internet access gateway. All was working fine until users started reporting that they cannot use the Cisco VPN client to connect to the customer'…
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now