cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
283
Views
0
Helpful
3
Replies

Have problem with static nat on cisco ASA ver 9.1

sonphamngoc
Level 1
Level 1

Dear all,

My English is'n good . I have trouble with static nat on asa run version 9.1.

This is my configuration file

interface GigabitEthernet1/1
 nameif outside

 des # Connect to router of ISP #
 security-level 0
 ip address 222.255.23.166 255.255.255.252

!interface GigabitEthernet0/2
 nameif dmz
 security-level 50
 ip address 199.1.10.33 255.255.255.224

!

route outside 0.0.0.0 0.0.0.0 222.255.23.165 1

!

object network NASU_DMZ

 sub 199.1.10.32 255.255.255.224

objecdt network NASU_ISA

 host 199.1.10.62

objecdt network NASU_ISA_PUB

 host 222.255.20.186

!

nat (dmz,outside) after-auto source dynamic NASU_DMZ interface

nat (dmz,outside) source static NASU_ISA NASU_ISA_PUB (static nat)

Case1 : if I use alc " access-list Outside_policy_in extendend permit ip any any " ,

                                 access-group Outside_policy_in in interface outside

    Result: Static nat on ASA will be worked correct

Case 2 : If I use acl "  access-list Outside_policy_in extendend permit tcp any host 222.255.20.186 eq 443

                                   access-list Outside_policy_in extendend permit tcp any host 222.255.20.186 eq 80

                                   access-group Outside_policy_in in interface outside

      Result: Static nat on ASA will be worked incorrect. I can't use all service include 443 and 80 .

Can you help me solve this problem ?

Thank you very much!

1 Accepted Solution

Accepted Solutions

In the ACL you have to use the real server IP-address:

access-list Outside_policy_in extendend permit tcp any object NASU_ISA eq 443
access-list Outside_policy_in extendend permit tcp any object NASU_ISA eq 80

View solution in original post

3 Replies 3

In the ACL you have to use the real server IP-address:

access-list Outside_policy_in extendend permit tcp any object NASU_ISA eq 443
access-list Outside_policy_in extendend permit tcp any object NASU_ISA eq 80

Thank for your support !

So, can you explain for me? All document show me that have to use IP map with static nat on asa.

The translated address was used in the ACL in ASA versions up to 8.2. With the new NAT-model it changed that the real IP has to be used.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card