[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

"Backwards" NAT Rules on a Cisco ASA 5505

Posted on 2014-12-12
6
Medium Priority
?
376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 29

Accepted Solution

by:
Jan Springer earned 2000 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 29

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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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 29

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
You deserve ‘straight talk’ from your cloud provider about your risk, your costs, security, uptime and the processes that are in place to protect your mission-critical applications.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses

656 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