Solved

Static NAT config for ASA 8.2

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

How to configure Site to Site VPN on a Cisco ASA.     (version: 1.1 - updated August 6, 2009) Index          [Preface]   1.    [Introduction]   2.    [The situation]   3.    [Getting started]   4.    [Interesting traffic]   5.    [NAT0]   6.…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

9 Experts available now in Live!

Get 1:1 Help Now