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
Solved

Static NAT config for ASA 8.2

Posted on 2014-10-20
2
162 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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.…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
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…

809 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