Solved

"Backwards" NAT Rules on a Cisco ASA 5505

Posted on 2014-12-12
6
339 Views
Last Modified: 2014-12-22
Take a look at the 2 NAT rules on my Cisco ASA 5505. They exist to allow port 4430 and port 8001 traffic to travel from the the outside interface on the firewall to the server (10.20.2.3). They both work perfectly, and yet they both look completely backwards.

Note the inside"interface specified in the top left. It's the outside interface on the firewall that traffic is hitting and these NAT rules exist to handle.
Similarly, the Original/Source values and the Translated/Interface values seem ass-backwards, yet they work.

NAT Rules
0
Comment
Question by:jdana
  • 3
  • 3
6 Comments
 
LVL 28

Accepted Solution

by:
Jan Springer earned 500 total points
ID: 40496395
It looks backwards because you are mapping the inside to the outside.
0
 

Author Comment

by:jdana
ID: 40496398
Jan Springer, please elaborate.
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 40496410
using cli where outside subnet is 172.16.34.0/24 without port forwarding):

static (outside,inside) 192.168.10.1 172.16.34.72 netmask 255.255.255.255

means maps the outside interface to the inside IP using the outside IP to the inside interface.

it would make more sense to have the inside to inside and outside to outside.
0
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!

 

Author Comment

by:jdana
ID: 40496714
Jan, Forgive my ignorance, I'm not a network guy. Is it reasonable to simplify this construct with the following "laymanish" statement, "The NAT Rule creates a "pathway" between the firewall's outside interface and the network interface of my server. As long as matching firewall rules exist allowing traffic, the NAT Rule is bi-directional. That is, it facilitates traffic both ways." A NAT rule based on the outside firewall interface would work as well.
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 40496770
The NAT rule takes a packet destined to an IP address, translates it and forwards the packet to the translated address.

And yes, a rule needs to exist both ways for consistent traffic flow.
0
 

Author Closing Comment

by:jdana
ID: 40512757
THANKS
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Imagine you have a shopping list of items you need to get at the grocery store. You have two options: A. Take one trip to the grocery store and get everything you need for the week, or B. Take multiple trips, buying an item at a time, to achieve t…
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'…
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…
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…

707 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

20 Experts available now in Live!

Get 1:1 Help Now