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

Adding static route to ASA

rick.reynolds
Level 1
Level 1

Hey guys

I have a firewall with an outside interface of 10.190.200.60 and an inside interface (Deltav) of 10.190.201.225. I am trying to access a host on the inside interface at 10.190.201.232. This access is coming from 10.190.80.x network. Below is the error I'm receiving from the ASA:

5 Mar 01 2017 16:10:52 10.190.80.196 62453 10.190.201.232 3389 Asymmetric NAT rules matched for forward and reverse flows; Connection for tcp src outside:10.190.80.196/62453 dst Deltav:10.190.201.232/3389 denied due to NAT reverse path failure

When on the firewall and I try to ping the 10.190.80.2 (router) I get a "No route to host 10.190.80.2" error. I have tried everything I know to add a static route and nothing seems to work. Does anyone have any ideas to get this to work? I am pasting my configuration below.

I am a novice and any help would be greatly appreciated.

ASA Version 9.7(1)
!
hostname ciscoasa
names

!
interface GigabitEthernet0/0
nameif outside
security-level 0
ip address 10.190.200.60 255.255.255.248
!
interface GigabitEthernet0/1
shutdown
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet0/2
nameif Deltav
security-level 100
ip address 10.190.201.225 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
no nameif
no security-level
no ip address
!
boot system disk0:/asa971-smp-k8.bin
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network obj_any
subnet 0.0.0.0 0.0.0.0
object service RDP-SERVICE
service tcp destination eq 3389
object service RDP-service
service tcp source eq 3389
object service OPC-SERVICE
service tcp destination eq 135
object network RDP-connection
host 10.190.201.232
access-list outside_access_in extended permit object RDP-SERVICE any object RDP-connection
access-list outside_access_in extended permit icmp any any echo
access-list outside_access_in extended permit icmp any any echo-reply
access-list outside_access_in extended permit icmp any any traceroute
access-list Deltav_access_in extended permit icmp any any echo
access-list Deltav_access_in extended permit icmp any any echo-reply
access-list Deltav_access_in extended permit icmp any any traceroute
pager lines 24
logging enable
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu Deltav 1500
no failover
no monitor-interface service-module
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-771.bin
asdm history enable
arp timeout 14400
no arp permit-nonconnected
arp rate-limit 16384
nat (Deltav,outside) source static RDP-connection interface service any RDP-service
access-group outside_access_in in interface outside
access-group Deltav_access_in in interface Deltav
router rip
!
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
http server enable
http 192.168.1.0 255.255.255.0 inside
http 10.190.200.0 255.255.255.0 outside
http 10.190.201.0 255.255.255.0 Deltav
http 10.0.0.0 255.0.0.0 outside
no snmp-server location
no snmp-server contact
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpool policy
telnet timeout 5
no ssh stricthostkeycheck
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0
management-access Deltav
threat-detection basic-threat
threat-detection scanning-threat
threat-detection statistics
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
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
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
inspect icmp
class class-default
user-statistics accounting
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
hpm topN enable
Cryptochecksum:a7a6d1f928448746280f8380b7813f7e
: end

3 Replies 3

what did you try to add the route? It should be

route outside 0.0.0.0 0.0.0.0 NextHop

where NextHop is the IP of the next router in the 10.190.200.56/29 network. If only specific networks are reachable through your outside network, replace "0.0.0.0 0.0.0.0" with the needed subnet and mask.

Karsten

Thank you for your response. I tried the route you suggested by putting:

route outside 0.0.0.0 0.0.0.0 10.190.80.2   (which is the outside router I need to get to).

I still can't communicate with it. Ping is being dropped. I ran a packet-tracer starting with the Deltav interface and ending with the outside router. It says that a configured rule is dropping the packet. I have explicitly permitted echo and echo-reply on both interfaces so I'm confused. Any ideas?

ciscoasa# packet-tracer input Deltav icmp 10.190.201.225 8 0 10.190.80.2 detai$

Phase: 1
Type: ACCESS-LIST
Subtype:
Result: ALLOW
Config:
Implicit Rule
Additional Information:
Forward Flow based lookup yields rule:
in id=0x2aaac7f97b90, priority=1, domain=permit, deny=false
hits=12227, user_data=0x0, cs_id=0x0, l3_type=0x8
src mac=0000.0000.0000, mask=0000.0000.0000
dst mac=0000.0000.0000, mask=0100.0000.0000
input_ifc=Deltav, output_ifc=any

Phase: 2
Type: ROUTE-LOOKUP
Subtype: Resolve Egress Interface
Result: ALLOW
Config:
Additional Information:
found next-hop 10.190.80.2 using egress ifc outside

Phase: 3
Type: ACCESS-LIST
Subtype:
Result: DROP
Config:
Implicit Rule
Additional Information:
Forward Flow based lookup yields rule:
in id=0x2aaac6e83690, priority=501, domain=permit, deny=true
hits=0, user_data=0x7, cs_id=0x0, reverse, flags=0x0, protocol=0
src ip/id=10.190.201.225, mask=255.255.255.255, port=0, tag=any
dst ip/id=0.0.0.0, mask=0.0.0.0, port=0, tag=any, dscp=0x0
input_ifc=Deltav, output_ifc=any

Result:
input-interface: Deltav
input-status: up
input-line-status: up
output-interface: outside
output-status: up
output-line-status: up
Action: drop
Drop-reason: (acl-drop) Flow is denied by configured rule

Thanks again

Rick

You don't need to allow echo-reply, thats allowed statefully with your config. But still it should work with the given ACL. For testing remove the ACL from the interface:

no access-group Deltav_access_in in interface Deltav

With that the security-levels control the access.

Review Cisco Networking for a $25 gift card