cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
275
Views
1
Helpful
2
Replies

ASA-AWS: VPN Traffic not routed to inside interface

sbch
Level 1
Level 1

I have CISCO ASA Version 9.19(1) deployed in AWS Cloud.

I was able to establish a VPN connection with the peer. I am trying to ping a server on the side. I see both the VPN and icmp connection when I run show conn and a capture show the icmp request on the inside interface but no reply.

I believe the return traffic is not routed from outside to inside.

My current config:

 

 

: Saved

: 
: Serial Number: 9APK7MNR5HL
: Hardware:   ASAv, 7680 MB RAM, CPU Xeon 4100/6100/8100 series 3605 MHz, 1 CPU (4 cores)
:
ASA Version 9.19(1) 
!
hostname ciscoasaaaa

!
interface Management0/0
 management-only
 nameif management
 security-level 100
 ip address dhcp setroute 
!
interface TenGigabitEthernet0/0
 nameif outside
 security-level 0
 ip address dhcp setroute 
!             
interface TenGigabitEthernet0/1
 nameif inside
 security-level 100
 ip address dhcp setroute 
!    

ftp mode passive
dns domain-lookup outside
dns server-group Default
 name-server 1.0.0.1 
 name-server 1.1.1.1 
dns server-group DefaultDNS
 domain-name XXXXX
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
no object-group-search access-control
object network CH_1
 host XXXXXX
object network CH_2
 host XXXXXX
object network TEST_IP
 host XXXXX
object network TEST_IP_PRIVATE
 host 172.31.45.0
object-group network CH_IPS
 network-object object CH_1
 network-object object CH_2
object-group network TEST_GROUP_IPS
 network-object object TEST_IP
access-group outside_access_in in interface outside
access-group allow-all global
access-list outside_access_in extended permit ip any any 
access-list allow-all extended permit ip any4 any4 
access-list allow-all extended permit ip any6 any6 
access-list CH-NETWORK extended permit ip object-group CH_IPS object-group TEST_GROUP_IPS 
access-list CH-NETWORK extended permit ip object-group TEST_GROUP_IPS object-group CH_IPS 
pager lines 23
mtu management 1500
mtu outside 1500
mtu inside 1500
no failover   
no failover wait-disable
no monitor-interface service-module 
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
icmp permit any inside
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
arp rate-limit 16384
nat (inside,outside) source static TEST_IP_PRIVATE TEST_IP destination static CH_1 CH_1
route outside 0.0.0.0 0.0.0.0 172.31.100.1 1
route inside 172.31.0.0 255.255.0.0 172.31.32.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 login-history
no snmp-server location
no snmp-server contact
crypto ipsec ikev2 ipsec-proposal VPN-TRANSFORM
 protocol esp encryption aes-256
 protocol esp integrity sha-256
crypto ipsec security-association pmtu-aging infinite
crypto map CH-MAP 1 match address CH-NETWORK
crypto map CH-MAP 1 set pfs group16
crypto map CH-MAP 1 set peer XXXXXXX
crypto map CH-MAP 1 set ikev2 ipsec-proposal VPN-TRANSFORM
crypto map CH-MAP 1 set security-association lifetime seconds 3600
crypto map CH-MAP interface outside
crypto ca trustpoint _SmartCallHome_ServerCA
 no validation-usage
 crl configure
crypto ca trustpoint _SmartCallHome_ServerCA2
 no validation-usage
 crl configure
crypto ca trustpool policy
 auto-import  
crypto ca certificate chain _SmartCallHome_ServerCA
 XXXXXXXX
crypto ca certificate chain _SmartCallHome_ServerCA2
 XXXXXXX
crypto ikev2 policy 10
 encryption aes-256
 integrity sha256
 group 19     
 prf sha256   
 lifetime seconds 86400
crypto ikev2 enable outside
telnet timeout 5
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
group-policy VPN_GP internal
group-policy VPN_GP attributes
 vpn-tunnel-protocol ikev2 
dynamic-access-policy-record DfltAccessPolicy
tunnel-group XXXXX type ipsec-l2l
tunnel-group XXXXX general-attributes
 default-group-policy VPN_GP
tunnel-group XXXXX ipsec-attributes
 ikev2 remote-authentication pre-shared-key XXXXX
 ikev2 local-authentication pre-shared-key XXXXX
!             
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 rtsp 
  inspect sunrpc 
  inspect netbios 
  inspect tftp 
  inspect ip-options 
  inspect dns preset_dns_map 
  inspect ftp 
  inspect h323 h225 
  inspect h323 ras 
  inspect rsh 
  inspect esmtp 
  inspect sqlnet 
  inspect sip  
  inspect skinny 
  inspect icmp 
  inspect icmp error 
!             
service-policy global_policy global
prompt hostname context 
no call-home reporting anonymous
call-home     
 profile License
  destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
  destination transport-method http
 profile CiscoTAC-1
  no active   
  destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
  destination address email callhome@cisco.com
  destination transport-method http
  subscribe-to-alert-group diagnostic
  subscribe-to-alert-group environment
  subscribe-to-alert-group inventory periodic monthly
  subscribe-to-alert-group configuration periodic monthly
  subscribe-to-alert-group telemetry periodic daily
: end 

 

1 Accepted Solution

Accepted Solutions

sbch
Level 1
Level 1

I didn't add the second NAT because I don't want to interact with that server yet.

I found the issue.

The gateway for my route inside was wrong. 

View solution in original post

2 Replies 2

1-first there are two server and the NO-NAT include IP of one server

2-

route outside 0.0.0.0 0.0.0.0 172.31.100.1 1
route inside 172.31.0.0 255.255.0.0 172.31.32.1 1

the IP can conflict, do packet tracer and see lookup when the packet is point out 

MHM 

sbch
Level 1
Level 1

I didn't add the second NAT because I don't want to interact with that server yet.

I found the issue.

The gateway for my route inside was wrong.