Solved

Static NAT config for ASA 8.2

Posted on 2014-10-20
2
156 Views
Last Modified: 2014-11-03
I'm trying to setup static NAT on an ASA 5505, but my config is not working.  Here's what I have so far:

static (inside,outside) 10.20.30.40 1.2.3.4 netmask 255.255.255.255
access-list outside_access_in extended permit tcp any host 1.2.3.4 eq 80
access-list outside_access_in extended permit tcp any host 1.2.3.4 eq 443
access-group outside_access_in in interface outside

Open in new window


Any idea what's going wrong?

FYI: 10.20.30.40 is the outside IP and 1.2.3.4 is the inside IP.
0
Comment
Question by:tballin
  • 2
2 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 40393118
Pre 8.3 the ACL should point to the PUBLIC ip not the private IP
0
 
LVL 57

Accepted Solution

by:
Pete Long earned 500 total points
ID: 40393129
e.g

no access-list outside_access_in extended permit tcp any host 1.2.3.4 eq 80
no access-list outside_access_in extended permit tcp any host 1.2.3.4 eq 443
access-list outside_access_in extended permit tcp any host 10.20.30.40 eq 80
access-list outside_access_in extended permit tcp any host 10.20.30.40 eq 443

Assuming that your comment
"FYI: 10.20.30.40 is the outside IP and 1.2.3.4 is the inside IP."
is correct

Pete
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

I recently updated from an old PIX platform to the new ASA platform.  While upgrading, I was tremendously confused about how the VPN and AnyConnect licensing works.  It turns out that the ASA has 3 different VPN licensing schemes. "site-to-site" …
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
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…

776 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