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

ASA 5506W static NAT - no access

Jack-ITP
Level 1
Level 1

Have an issue with a new ASA 5506W - setup allows internet access to all systems behind it except for the ones with a static NAT - we have separate IP addresses assigned to 2 servers, all the access rules are in place but neither of them have internet access (LAN access is fine on all systems). Not sure what we're missing - config is:

 

Result of the command: "show run"

: Saved

:
: Serial Number: JAD21450AMK
: Hardware:   ASA5506W, 4096 MB RAM, CPU Atom C2000 series 1250 MHz, 1 CPU (4 cores)
:
ASA Version 9.6(1)
!
hostname ciscoasa
enable password 8Ry2YjIyt7RRXU24 encrypted
names

!
interface GigabitEthernet1/1
 nameif outside
 security-level 0
 ip address 50.250.1xx.xx 255.255.255.248
!
interface GigabitEthernet1/2
 nameif inside
 security-level 100
 ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet1/3
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet1/4
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet1/5
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet1/6
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet1/7
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet1/8
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet1/9
 nameif wifi
 security-level 100
 ip address 192.168.10.1 255.255.255.0
!
interface Management1/1
 management-only
 no nameif
 no security-level
 no ip address
!
ftp mode passive
same-security-traffic permit inter-interface
object network obj_any
 subnet 0.0.0.0 0.0.0.0
object network obj-192.168.1.102
 host 192.168.1.102
object network obj-192.168.1.254
 host 192.168.1.254
object network obj-192.168.1.103
 host 192.168.1.103
access-list outside_access_in extended permit tcp any object obj-192.168.1.102 eq smtp
access-list outside_access_in extended permit tcp any object obj-192.168.1.102 eq www
access-list outside_access_in extended permit tcp any object obj-192.168.1.102 eq https
access-list outside_access_in extended permit tcp any object obj-192.168.1.103 eq pptp
access-list outside_access_in extended permit gre any object obj-192.168.1.103
access-list outside_access_in extended permit tcp any object obj-192.168.1.254 eq www
access-list outside_access_in extended permit tcp any object obj-192.168.1.254 eq ssh
access-list outside_access_in extended permit tcp any object obj-192.168.1.254 eq telnet
access-list outside_access_in extended permit tcp any object obj-192.168.1.254 eq 161
access-list outside_access_in extended permit tcp any object obj-192.168.1.254 eq 3668
access-list outside_access_in extended permit tcp any object obj-192.168.1.254 eq 5869
access-list outside_access_in extended permit tcp any object obj-192.168.1.254 eq 5900
access-list outside_access_in extended permit tcp any object obj-192.168.1.254 eq 5901
access-list outside_access_in extended permit icmp any any
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu wifi 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
!
object network obj_any
 nat (any,outside) dynamic interface
object network obj-192.168.1.102
 nat (any,any) static 50.250.1xx.xx
object network obj-192.168.1.254
 nat (any,any) static 50.250.1xx.xx
object network obj-192.168.1.103
 nat (any,any) static 50.250.1xx.xx
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 50.250.1xx.xx 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 sctp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
user-identity default-domain LOCAL
http server enable
http 192.168.1.0 255.255.255.0 inside
http 192.168.10.0 255.255.255.0 wifi
no snmp-server location
no snmp-server contact
service sw-reset-button
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpool policy
telnet timeout 5
ssh stricthostkeycheck
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0

dhcpd auto_config outside
!
dhcpd address 192.168.1.5-192.168.1.254 inside
!
dhcpd address 192.168.10.2-192.168.10.254 wifi
dhcpd enable wifi
!
dynamic-access-policy-record DfltAccessPolicy
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum client auto
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect rsh
  inspect rtsp
  inspect esmtp
  inspect sqlnet
  inspect skinny 
  inspect sunrpc
  inspect xdmcp
  inspect sip 
  inspect netbios
  inspect tftp
  inspect ip-options
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:914ea50258e8c241dc666eab8326ef4c
: end

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

 nat (any,outside) dynamic interface

 

nat (inside,outside) source dynamic obj_any interface

 

Start with simple nat rule and try it works, if basic rule working then start building complex rule, by understand each rule before applying.

 

BB 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks. The basic NAT works fine - all internal systems have internet
access. The only ones that don't are the 2 (internal IP .102 and .103) that
have separate NAT rules:

object network obj-192.168.1.102

nat (any,any) static 50.250.1xx.xx

And separate access rules:

access-list outside_access_in extended permit tcp any object
obj-192.168.1.102 eq smtp

All other systems are NATed to the outside IP of the firewall. The systems
were all working fine behind an ASA 5505, I have several ASA-5506's in the
field that use the same type configuration and all those work fine. I just
can't find what's preventing the static natted systems from getting out (or
any of the access rules getting in).

You are using object NAT which is bidirectional by default (but does get applied with lower preference)

 

can you show how your servers get NATed to ouside (internet) by using packet tracer  and paste a screen shot of the NAT applied (or  packet trace output(.

 

cheers

Please remember to rate useful posts, by clicking on the stars below.

Review Cisco Networking for a $25 gift card