cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
521
Views
0
Helpful
2
Replies

Unable to access internet or ping external site names

cbriones06
Level 1
Level 1

I have an issue with a cisco asa 5505

 

I am unable to access the internet from any computer on the LAN. I can access the network from the outside, as a matter of fact I have rdp access to a server that was setup with it. I can also ping  external IP addresses but not names. Here is the config. Any help or suggestions is appreciated. I am begining to believe this is a DNS issue?

 

: Saved
:
ASA Version 8.2(5) 
!
hostname My-ASA
domain-name mysite.com
enable password******************* encrypted
passwd *************encrypted
names
name 192.168.10.x Srv-192.168.10.x description Server
name 97.7x.xxx.xx2 Outside-Host
!
interface Ethernet0/0
 switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.10.x 255.255.255.0 
!
interface Vlan2
 nameif outside
 security-level 0
 ip address Outside-Host 255.255.255.252 
!
ftp mode passive
clock timezone CST -6
clock summer-time CDT recurring
dns server-group DefaultDNS
 domain-name mysite.com
object-group service rdp tcp
 description Remote Desktop
 port-object eq 3389
access-list inside_access_in extended permit tcp any any eq 3389 
access-list inside_access_in extended permit tcp any any eq www 
access-list inside_access_in extended permit icmp any any 
access-list inside_access_in extended permit udp any any eq ntp 
access-list outside_access_in extended permit tcp any any eq 3389 
access-list outside_access_in extended permit icmp any any echo-reply 
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 192.168.10.0 255.255.255.0
static (inside,outside) tcp interface 3389 Prov-Srv-192.168.10.9 3389 netmask 255.255.255.255 
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 97.7x.xxx.xx1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 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
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.10.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet 192.168.10.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
!
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:eea8b18bfa5f73b832857913a77486d1
: end

1 Accepted Solution

Accepted Solutions

you don't allow any DNS-traffic to leave your network. Add the following lines and try again:

access-list inside_access_in extended permit udp any any eq 53
access-list inside_access_in extended permit tcp any any eq 53

Typically, it's not needed to allow DNS to the whole internet, only to the DNS-servers that are used by your internal systems.

Some more improvements for your config:

1) If you configure icmp-inspection, you can remove the ACE that lets echo-replys unconditionally into your network:

policy-map global_policy
 class inspection_default
  inspect icmp 

no access-list outside_access_in extended permit icmp any any echo-reply 

2) The outside ACE allowing RDP could be restricted a little bit more:

access-list outside_access_in extended permit tcp any host 97.7x.xxx.xx2 eq 3389 

 

View solution in original post

2 Replies 2

you don't allow any DNS-traffic to leave your network. Add the following lines and try again:

access-list inside_access_in extended permit udp any any eq 53
access-list inside_access_in extended permit tcp any any eq 53

Typically, it's not needed to allow DNS to the whole internet, only to the DNS-servers that are used by your internal systems.

Some more improvements for your config:

1) If you configure icmp-inspection, you can remove the ACE that lets echo-replys unconditionally into your network:

policy-map global_policy
 class inspection_default
  inspect icmp 

no access-list outside_access_in extended permit icmp any any echo-reply 

2) The outside ACE allowing RDP could be restricted a little bit more:

access-list outside_access_in extended permit tcp any host 97.7x.xxx.xx2 eq 3389 

 

cbriones06
Level 1
Level 1

That is the ticket. Thank you! I am getting my feet wet with Cisco so I appreciate your feedback.