02-15-2018 10:52 PM - edited 03-08-2019 01:52 PM
Lab setup:
ISP -> unmanaged switch -> ASA 5510 (8.4) -> Cisco 2851 Router
From the ASA I can ping 4.2.2.2 and get replies. Cool.
I can ping the Cisco 2851 and get replies, cool.
From the Cisco 2851 I can ping the firewall and get replies. Cool.
From the Cisco 2851 I DO NOT get replies when I ping 4.2.2.2
To recap, I need to be able to ping from R1 to internet. This will go through FW.
This leads me to believe that the firewall is blocking.
I have created a network object
I have created a ACL
I have applied the ACL.
What am I missing?
ISP Router: 192.168.200.1/24
FW Eth0/0: 192.168.200.169/24 (DHCP)
FW Eth0/1: 10.0.0.1/24
R1 Gi0/0 10.0.0.2/24
R1 Gi0/1 10.10.0.1/24
FW config below:
!
interface Ethernet0/0
nameif OUTSIDE
security-level 0
ip address dhcp
!
interface Ethernet0/1
nameif INSIDE
security-level 100
ip address 10.0.0.1 255.255.255.0
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
nameif ManageASDM
security-level 100
ip address 192.168.1.1 255.255.255.0
management-only
!
boot system disk0:/asa841-k8.bin
ftp mode passive
object network obj_10.0.0.x
host 10.0.0.2
access-list AL-10.0.0.2-to-ISP extended permit tcp any host 192.168.200.1
pager lines 24
logging asdm informational
mtu ManageASDM 1500
mtu OUTSIDE 1500
mtu INSIDE 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-641.bin
no asdm history enable
arp timeout 14400
!
object network obj_10.0.0.x
nat (INSIDE,OUTSIDE) static 192.168.200.1
route OUTSIDE 0.0.0.0 0.0.0.0 192.168.200.1 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
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 ManageASDM
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
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
Cryptochecksum:65358fd695580f8580785c8fafa14e04
: end
ciscoasa(config)#
02-15-2018 11:56 PM - edited 02-16-2018 12:11 AM
I dont have much experience in ASA. But as understood from config, you have to configure policy to allow inside ip to public ip.. also clearely define the NAT (static or dynamic) with nat ip not same as router ip.
It is always a best practice to use fised ip address for Firewall interfaces, not DHCP.
for NAT, you can use the following
nat (INSIDE,OUTSIDE) dynamic interface ( this will use the mapped interface.)
~Unni
02-16-2018 12:09 AM
02-16-2018 12:12 AM
02-16-2018 12:13 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide