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

Cannot get Cisco ASA 5505 to pass VPN traffic

jonathanbaird
Level 1
Level 1

Hi, 

I am having some trouble getting my Cisco ASA to pass VPN traffic from the Cisco ASA to a DrayTek 2860. The tunnel is up and traffic from the DryaTek 2860 reaches the Cisco ASA but not vice versa. I have checked NAT rules and from what I can see it looks to be correct. My config is below. Any assistance with this would be greatly appreciated.

ciscoasa# sh run
: Saved
:
: Serial Number: JMX1833Z01D
: Hardware: ASA5505, 512 MB RAM, CPU Geode 500 MHz
:
ASA Version 9.2(4)
!
hostname ciscoasa
enable password 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
switchport access vlan 10
!
interface Ethernet0/1
switchport access vlan 40
!
interface Ethernet0/2
switchport trunk allowed vlan 1,10,20,30,40
switchport mode trunk
!
interface Ethernet0/3
switchport access vlan 10
shutdown
!
interface Ethernet0/4
switchport access vlan 10
shutdown
!
interface Ethernet0/5
switchport access vlan 10
shutdown
!
interface Ethernet0/6
switchport access vlan 10
shutdown
!
interface Ethernet0/7
switchport access vlan 2
!
interface Vlan2
nameif wan
security-level 0
ip address x.x.x.123 255.255.255.248
!
interface Vlan10
nameif lan
security-level 100
ip address 10.64.10.254 255.255.255.0
!
interface Vlan20
nameif sandbox
security-level 100
ip address 10.64.20.254 255.255.255.0
!
interface Vlan30
nameif guest
security-level 100
ip address 10.64.30.254 255.255.255.0
!
interface Vlan40
nameif cctv
security-level 100
ip address 10.64.40.254 255.255.255.0
!
ftp mode passive
object network obj_any
subnet 0.0.0.0 0.0.0.0
object service 53_udp_dns
service udp destination eq domain
object network 10.8.64.0_24_remote_network
subnet 10.8.64.0 255.255.255.0
object network 208.67.220.220_32_opendns_primary
host 208.67.220.220
object network 208.67.222.222_32_opendns_secondary
host 208.67.222.222
object service 53_tcp_dns
service tcp destination eq domain
object network x.x.x.128_29_x
subnet x.x.x.128 255.255.255.248
object network x.x.x.120_29_x
subnet x.x.x.120 255.255.255.248
object network 172.20.16.0_remote_network
subnet 172.20.16.0 255.255.255.0
object service 45881_udp_cctv
service udp destination eq 45881
object network 10.64.10.0_local_network
subnet 10.64.10.0 255.255.255.0
object-group network x
network-object object x.x.x.120_29_x
network-object object x.x.x.128_29_x
object-group network opendns
network-object object 208.67.220.220_32_opendns_primary
network-object object 208.67.222.222_32_opendns_secondary
object-group service dns
service-object object 53_tcp_dns
service-object object 53_udp_dns
object-group service DM_INLINE_TCP_1 tcp
port-object eq www
port-object eq https
object-group service DM_INLINE_TCP_2 tcp
port-object eq www
port-object eq https
object-group service DM_INLINE_TCP_3 tcp
port-object eq www
port-object eq https
object-group service cctv
service-object object 45881_udp_cctv
service-object icmp
access-list outside_access_in extended permit icmp any any echo-reply
access-list outside_access_in extended deny ip any any
access-list outside_access_in extended permit object-group cctv any 10.64.40.0 255.255.255.0
access-list inside_access_in extended permit tcp 10.64.30.0 255.255.255.0 any object-group DM_INLINE_TCP_2
access-list inside_access_in extended permit object-group dns 10.64.30.0 255.255.255.0 object-group opendns
access-list inside_access_in extended deny ip 10.64.30.0 255.255.255.0 any
access-list inside_access_in extended permit object-group dns any object-group opendns
access-list inside_access_in extended deny object-group dns any any
access-list inside_access_in extended deny ip any object-group x
access-list inside_access_in extended permit ip any any
access-list inside_access_in extended deny ip any any
access-list lan_access_in extended permit ip any any
access-list wlan_access_in extended permit object-group dns any object-group opendns
access-list wlan_access_in extended deny object-group dns any any
access-list wlan_access_in extended deny ip any object-group x
access-list wlan_access_in extended permit ip any any
access-list wlan_access_in extended deny ip any any
access-list lan_access_in_1 extended permit object-group dns any object-group opendns
access-list lan_access_in_1 extended deny object-group dns any any
access-list lan_access_in_1 extended deny ip any object-group x
access-list lan_access_in_1 extended permit ip any any
access-list lan_access_in_1 extended deny ip any any
access-list guest_access_in extended permit object-group dns any object-group opendns
access-list guest_access_in extended deny object-group dns any any
access-list guest_access_in extended deny ip any object-group x
access-list guest_access_in extended permit tcp any any object-group DM_INLINE_TCP_1
access-list guest_access_in extended deny ip any any
access-list lan_access_in_2 extended permit tcp 10.64.30.0 255.255.255.0 any object-group DM_INLINE_TCP_3
access-list lan_access_in_2 extended permit object-group dns 10.64.30.0 255.255.255.0 object-group opendns
access-list lan_access_in_2 extended deny ip 10.64.30.0 255.255.255.0 any
access-list lan_access_in_2 extended permit object-group dns any object-group opendns
access-list lan_access_in_2 extended deny object-group dns any any
access-list lan_access_in_2 extended permit ip any any
access-list lan_access_in_2 extended deny ip any any
access-list guest_access_in_1 extended deny ip any any
access-list wan_cryptomap extended permit ip object 10.64.10.0_local_network object 10.8.64.0_24_remote_network
access-list lan_access_in_3 extended deny ip any any
access-list cctv_access_in_1 extended permit object-group dns any object-group opendns
access-list cctv_access_in_1 extended deny object-group dns any any
access-list cctv_access_in_1 extended permit ip any any
access-list cctv_access_in_1 extended deny ip any any
pager lines 24
logging enable
logging timestamp
logging asdm debugging
mtu wan 1500
mtu lan 1500
mtu sandbox 1500
mtu guest 1500
mtu cctv 1500
ip verify reverse-path interface wan
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (lan,wan) source static 10.64.10.0_local_network 10.64.10.0_local_network destination static 10.8.64.0_24_remote_network 10.8.64.0_24_remote_networ k no-proxy-arp route-lookup
nat (lan,wan) source dynamic any interface
nat (cctv,wan) source dynamic any interface
access-group outside_access_in in interface wan
access-group lan_access_in_2 in interface lan
access-group lan_access_in_3 in interface sandbox
access-group guest_access_in_1 in interface guest
access-group cctv_access_in_1 in interface cctv
route wan 0.0.0.0 0.0.0.0 x.x.x.125 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 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
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
aaa authentication http console LOCAL
aaa authentication enable console LOCAL
aaa authentication serial console LOCAL
aaa authentication telnet console LOCAL
http server enable
http x.x.x.0 255.255.255.192 wan
http 10.64.10.0 255.255.255.0 lan
no snmp-server location
no snmp-server contact
crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS mode transport
crypto ipsec ikev2 ipsec-proposal AES256
protocol esp encryption aes-256
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES192
protocol esp encryption aes-192
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES
protocol esp encryption aes
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal 3DES
protocol esp encryption 3des
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal DES
protocol esp encryption des
protocol esp integrity sha-1 md5
crypto ipsec security-association pmtu-aging infinite
crypto map wan_map 1 match address wan_cryptomap
crypto map wan_map 1 set connection-type answer-only
crypto map wan_map 1 set peer x.x.x.126
crypto map wan_map 1 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-S HA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map wan_map interface wan
crypto ca trustpool policy
crypto ikev2 policy 1
encryption aes-256
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 10
encryption aes-192
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 20
encryption aes
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 30
encryption 3des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 40
encryption des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 enable wan
crypto ikev1 enable wan
crypto ikev1 policy 10
authentication crack
encryption aes-256
hash sha
group 2
lifetime 86400
crypto ikev1 policy 20
authentication rsa-sig
encryption aes-256
hash sha
group 2
lifetime 86400
crypto ikev1 policy 30
authentication pre-share
encryption aes-256
hash sha
group 2
lifetime 86400
crypto ikev1 policy 40
authentication crack
encryption aes-192
hash sha
group 2
lifetime 86400
crypto ikev1 policy 50
authentication rsa-sig
encryption aes-192
hash sha
group 2
lifetime 86400
crypto ikev1 policy 60
authentication pre-share
encryption aes-192
hash sha
group 2
lifetime 86400
crypto ikev1 policy 70
authentication crack
encryption aes
hash sha
group 2
lifetime 86400
crypto ikev1 policy 80
authentication rsa-sig
encryption aes
hash sha
group 2
lifetime 86400
crypto ikev1 policy 90
authentication pre-share
encryption aes
hash sha
group 2
lifetime 86400
crypto ikev1 policy 100
authentication crack
encryption 3des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 110
authentication rsa-sig
encryption 3des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 120
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 130
authentication crack
encryption des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 140
authentication rsa-sig
encryption des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 150
authentication pre-share
encryption des
hash sha
group 2
lifetime 86400
telnet timeout 5
no ssh stricthostkeycheck
ssh x.x.x.0 255.255.255.192 wan
ssh 10.64.10.0 255.255.255.0 lan
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0

dhcpd auto_config wan
!
dhcpd address 10.64.10.5-10.64.10.252 lan
dhcpd dns 208.67.222.222 208.67.220.220 interface lan
dhcpd option 3 ip 10.64.10.254 interface lan
!
dhcpd address 10.64.20.5-10.64.20.252 sandbox
dhcpd dns 208.67.222.222 208.67.220.220 interface sandbox
dhcpd option 3 ip 10.64.20.1 interface sandbox
dhcpd enable sandbox
!
dhcpd address 10.64.30.5-10.64.30.252 guest
dhcpd dns 208.67.222.222 208.67.220.220 interface guest
dhcpd option 3 ip 10.64.30.1 interface guest
dhcpd enable guest
!
dhcpd address 10.64.40.5-10.64.40.252 cctv
dhcpd dns 208.67.222.222 208.67.220.220 interface cctv
dhcpd option 3 ip 10.64.40.254 interface cctv
dhcpd enable cctv
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
group-policy GroupPolicy_x.x.x.126 internal
group-policy GroupPolicy_x.x.x.126 attributes
vpn-tunnel-protocol ikev1
username admin password w3JS.x/UmxXOypz4 encrypted privilege 15
tunnel-group x.x.x.126 type ipsec-l2l
tunnel-group x.x.x.126 general-attributes
default-group-policy GroupPolicy_x.x.x.126
tunnel-group x.x.x.126 ipsec-attributes
ikev1 pre-shared-key *****
ikev2 remote-authentication pre-shared-key *****
ikev2 local-authentication pre-shared-key *****
!
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:fba91132e6a7b5d0181274e8db2bf2e1
: end

2 Replies 2

jonathanbaird
Level 1
Level 1

Can anybody help with this please?

I would recommend 2 things:

1) Remove "crypto map wan_map 1 set connection-type answer-only". I have seen this does not play well with 3rd party VPN devices. 

2) Debug further by using the following commands:

packet-tracer input <inside-intf> icmp <inside-host-ip> 8 0 <remote-host-ip> detailed

This should show you the packet processing steps on the ASA and where the packet could be potentially dropped.

Review Cisco Networking for a $25 gift card