cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1146
Views
0
Helpful
4
Replies

ASA 5525-X can not access internet!

m.abdallah1
Level 1
Level 1

Hello

unable to access internet, packet tracer from inside to STC shows that packets allowed but still can not access internet. hereinafter ASA configuration. 

ISP router connected to interface 0/2.

 

interface GigabitEthernet0/0
 description ** LAN Interface ***
 nameif inside
 security-level 100
 ip address 10.10.2.9 255.255.255.0
!
interface GigabitEthernet0/1
 description ** Mobily **
 nameif outside
 security-level 0
 ip address 192.168.1.2 255.255.255.0
!
interface GigabitEthernet0/2
 description ** Awal net **
 nameif STC
 security-level 0
 ip address 192.168.2.2 255.255.255.0
!
interface GigabitEthernet0/3
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/4
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/5
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/6
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/7
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Management0/0
 management-only
 shutdown
 nameif management
 security-level 100
 no ip address
!
boot system disk0:/asa982-smp-k8.bin
ftp mode passive
clock timezone AST 3
object network LAN
 subnet 10.10.2.0 255.255.255.0
 description LAN-Users
object network internal
 subnet 10.10.2.0 255.255.255.0
object network Internal-LAN
 subnet 10.10.2.0 255.255.255.0
 description Internal LAN
access-list STC_access_in extended permit ip any any log disable
access-list inside_access_in extended permit ip any any log disable
pager lines 24
logging asdm informational
mtu management 1500
mtu inside 1500
mtu outside 1500
mtu STC 1500
no failover
no monitor-interface service-module
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-782.bin
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
arp rate-limit 16384
nat (inside,STC) source dynamic any interface
access-group inside_access_in in interface inside
access-group STC_access_in in interface STC
route STC 0.0.0.0 0.0.0.0 192.168.2.1 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
timeout conn-holddown 0:00:15
timeout igp stale-route 0:01:10
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
aaa authentication telnet console LOCAL
aaa authentication login-history
http server enable
http 192.168.1.0 255.255.255.0 management
http 10.10.2.0 255.255.255.0 management
http 10.10.2.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpool policy
telnet 10.10.2.0 255.255.255.0 inside
telnet timeout 5
ssh stricthostkeycheck
ssh 10.10.2.0 255.255.255.0 management
ssh 10.10.2.0 255.255.255.0 inside
ssh timeout 30
ssh key-exchange group dh-group1-sha1
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ssl cipher default low
ssl cipher tlsv1 low
ssl cipher tlsv1.1 low
ssl cipher tlsv1.2 low
ssl cipher dtlsv1 low
dynamic-access-policy-record DfltAccessPolicy
username admin password $sha512$5000$b+ecPi7paj70BHNjCvsGkQ==$MFZPCNoipO/TwTFxWR                                  Xqmw== pbkdf2
$ROD7aLHbMnJBImajh0396A==$Hj5G7iqu0iSX72K                                  qW/LaWQ== pbkdf2
!
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
  no tcp-inspection
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:9823206cc9c365de6a35428de4eab64d
: end

4 Replies 4

The config is highly insecure, but at least it looks correct for accessing the outside network.

How do you test? Only with ping or also with real traffic?

To make ping work you need the following config:

policy-map global_policy
 class inspection_default
  inspect icmp

Can you ping the internet from the ASA?

 

 

The config is highly insecure, but at least it looks correct for accessing the outside network.

yes we just start implementation 

How do you test? Only with ping or also with real traffic?

no we test with real traffic.

To make ping work you need the following config:

policy-map global_policy
 class inspection_default
  inspect icmp

Can you ping the internet from the ASA?

yes 

 

Your configuration are everywhere. i have tidy them up. i mean some of the objects are duplicate so i remove them for you.

!

object network LAN
 subnet 10.10.2.0 255.255.255.0
 description LAN-Users
no object network internal
 subnet 10.10.2.0 255.255.255.0
no object network Internal-LAN
 subnet 10.10.2.0 255.255.255.0
 description Internal LAN

!

nat (inside,STC) source dynamic any interface

!

policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map
  inspect ftp

  insecpt icmp

================

now from you inside network try to reach google or any other web page and let us know how it goes.

please do not forget to rate.

Is DNS setup correctly on the test PC?  If you statically assign DNS (for example 8.8.8.8) to the PC can you browse the internet then?

--
Please remember to select a correct answer and rate helpful posts
Review Cisco Networking products for a $25 gift card