cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2355
Views
0
Helpful
19
Replies

VPN SITE TO SITE BETWEEN ASA 5505 ASN 5510 TROUBLES

robertojb
Level 1
Level 1

Hello Everybody, I have a problem with my vpn between two ASAs, I review the running config of two devices, but I couldnt see anything out of normal.

As you can see in the image the VPN is up, but in the ASA 5510 I dont have Bytes Rx (ZERO), I tried to config again two ASAs but I have the same trouble, I dont know what Can I do, please help me...

asaGye.bmp

2 Accepted Solutions

Accepted Solutions

Jouni Forss
VIP Alumni
VIP Alumni

Hi,

You should make sure that

  • Remote ends NAT configurations are correct
    • NAT0 or some other type of translation isnt configured
    • Some NAT rule is overriding the rule you have configured for the L2L VPN?
  • Make sure you have allowed the traffic/connection you are attempting
    • Is VPN traffic allowed to bypass the "outside" interface ACL on the remote end or does the traffic need to be allowed in the "outside" interface ACL?
  • Make sure the remote host is responding to the same type of connection attempt from its local network before attempting the same from remote location through the L2L VPN
    • If one tested service isnt working try another one. For example ICMP isnt always the best thing to test connections.

Can you also give us some more background information.

  • Has this L2L VPN ever worked or did it stop working at some point?
  • I assume you have admin access to both ASA? Can you perhaps share some configuration
  • What kind of connections are you attempting through the L2L VPN?
    • TCP/UDP/ICMP ?
    • Source and destination IP?
  • Have you monitored the ASA logs through ASDM on the other end? The device at the remote end that is not sending anything back on the L2L VPN connection.

And as a last note a very common configuration that is missing from ASA configurations when testing with ICMP

Make sure that both ASAs have the below "inspect icmp" configured

policy-map global_policy

class inspection_default

  inspect icmp

- Jouni

View solution in original post

Hi,

I'd recommend using different group-policy for every connection you configure.

If you VPN client connections need an VPN Filter, configure a Group-Policy for that VPN Client connection and attach the filter there. Same for L2L VPN, if you need Filter for it, make a new Group-policy just to be used with the L2L VPN connection and nothing else. I guess even if you remove the group-policy from the L2L VPN, it would then inherit the default-group policy you have configured which has the VPN Filter under it.

I would test actual connections from hosts behind the ASA through the L2L VPN wihtout having any VPN Filter ACL on the actual L2L VPN connection.

I'm still not quite sure what connections you are trying to take through the L2L VPN. So fat I have only seen packet-tracer tests. The packet-tracer functionality of the ASA will only tell you what the ASA would do to the traffic but doesnt generate traffic.

- Jouni

View solution in original post

19 Replies 19

Jouni Forss
VIP Alumni
VIP Alumni

Hi,

You should make sure that

  • Remote ends NAT configurations are correct
    • NAT0 or some other type of translation isnt configured
    • Some NAT rule is overriding the rule you have configured for the L2L VPN?
  • Make sure you have allowed the traffic/connection you are attempting
    • Is VPN traffic allowed to bypass the "outside" interface ACL on the remote end or does the traffic need to be allowed in the "outside" interface ACL?
  • Make sure the remote host is responding to the same type of connection attempt from its local network before attempting the same from remote location through the L2L VPN
    • If one tested service isnt working try another one. For example ICMP isnt always the best thing to test connections.

Can you also give us some more background information.

  • Has this L2L VPN ever worked or did it stop working at some point?
  • I assume you have admin access to both ASA? Can you perhaps share some configuration
  • What kind of connections are you attempting through the L2L VPN?
    • TCP/UDP/ICMP ?
    • Source and destination IP?
  • Have you monitored the ASA logs through ASDM on the other end? The device at the remote end that is not sending anything back on the L2L VPN connection.

And as a last note a very common configuration that is missing from ASA configurations when testing with ICMP

Make sure that both ASAs have the below "inspect icmp" configured

policy-map global_policy

class inspection_default

  inspect icmp

- Jouni

This is the environment: I want to connect two private networks between two different cities, at the site A, I have my inside network 192.168.1.0/24,  a DMZ 172.16.0.0/16, and the outside network 200.124.230.176/28. The outside interface in this is 200.124.230.182, I could see that I can’t do a “ping” from the inside network to this IP, but I can do a tracert, so I think there`s something missing like you said in the icmp policy. In the Site B I have the inside network 192.168.3.0/24 and the outside network 190.90.138.128/28. May be you can help me with some additional information about NAT, I also attach the two “running config” of the ASAs, The ACL which is applied to VPN is VPN_FILTER

: Saved

:

ASA Version 8.2(5)

!

hostname AA-ASA-UIO

domain-name acurioasociados.com

enable password 0kQRlj/L0cSybo/4 encrypted

passwd /bFBrYIFJbZcK6oN encrypted

no names

name 200.124.230.182 FirewallUIO

!

interface Ethernet0/0

nameif AA-UIO-OUTSIDE

security-level 0

ip address 200.124.230.182 255.255.255.248

!

interface Ethernet0/1

nameif AA-UIO-DMZ

security-level 0

ip address 172.16.1.4 255.255.0.0

!

interface Ethernet0/2

nameif AA-UIO-INSIDE

security-level 0

ip address 192.168.1.208 255.255.255.0

!

interface Ethernet0/3

shutdown

no nameif

no security-level

no ip address

!

interface Management0/0

nameif management

security-level 100

ip address 192.168.4.1 255.255.255.0

management-only

!

ftp mode passive

clock timezone ECT -5

dns domain-lookup AA-UIO-OUTSIDE

dns domain-lookup AA-UIO-INSIDE

dns server-group DefaultDNS

name-server 200.124.224.195

name-server 200.124.224.196

domain-name acurioasociados.com

same-security-traffic permit inter-interface

same-security-traffic permit intra-interface

object-group protocol TCPUDP

protocol-object udp

protocol-object tcp

object-group service acurio tcp

description aval

port-object eq www

port-object eq login

port-object eq sqlnet

object-group service DM_INLINE_SERVICE_2

service-object ip

service-object tcp

service-object icmp echo

service-object icmp echo-reply

object-group service DM_INLINE_SERVICE_3

service-object ip

service-object icmp echo

service-object icmp echo-reply

object-group service DM_INLINE_SERVICE_10

service-object ip

service-object udp eq 4569

object-group service DM_INLINE_SERVICE_11

service-object ip

service-object udp eq 4569

object-group protocol DM_INLINE_PROTOCOL_3

protocol-object ip

protocol-object udp

object-group service RDP tcp

port-object eq 3389

object-group protocol DM_INLINE_PROTOCOL_1

protocol-object ip

protocol-object udp

protocol-object tcp

object-group protocol DM_INLINE_PROTOCOL_2

protocol-object ip

protocol-object tcp

object-group service DM_INLINE_SERVICE_1

service-object ip

service-object tcp eq 3389

object-group protocol DM_INLINE_PROTOCOL_4

protocol-object ip

protocol-object udp

object-group protocol DM_INLINE_PROTOCOL_5

protocol-object ip

protocol-object udp

object-group service DM_INLINE_TCP_1 tcp

port-object eq 3306

port-object eq 3389

access-list AA-UIO-INSIDE_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list captout extended permit ip host 192.168.1.208 192.168.3.0 255.255.255.0

access-list captout extended permit ip host 190.90.138.134 host 200.124.230.182

access-list captout extended permit ip host 200.124.230.182 host 190.90.138.134

access-list VPN_FILTER extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0

access-list VPN_FILTER extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list VPN_FILTER extended permit object-group DM_INLINE_SERVICE_10 host 192.168.3.3 host 192.168.1.13

access-list VPN_FILTER extended deny object-group DM_INLINE_SERVICE_11 any host 192.168.1.13

access-list VPN_FILTER extended permit ip any any

access-list AA-UIO-OUTSIDE_mpc extended permit object-group DM_INLINE_PROTOCOL_3 host 192.168.1.13 host 192.168.3.3

access-list AA-UIO-INSIDE_nat0_outbound_1 extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list AA-UIO-INSIDE_nat0_outbound_1 extended permit ip 192.168.1.0 255.255.255.0 192.168.1.0 255.255.255.0

access-list AA-UIO-INSIDE_access_in extended permit ip any any

access-list AA-UIO-INSIDE_access_in extended permit object-group DM_INLINE_PROTOCOL_1 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list AA-UIO-INSIDE_access_in extended permit object-group DM_INLINE_PROTOCOL_2 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0

access-list AA-UIO-INSIDE_access_in extended permit object-group DM_INLINE_SERVICE_1 any host 192.168.1.37

access-list AA-UIO-INSIDE_access_in extended permit object-group DM_INLINE_PROTOCOL_4 host 192.168.3.3 host 192.168.1.13

access-list AA-UIO-INSIDE_access_in extended deny object-group DM_INLINE_PROTOCOL_5 any host 192.168.1.13

access-list AA-UIO-INSIDE_access_in extended permit tcp 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0 object-group RDP

access-list AA-UIO-OUTSIDE_access_in extended permit tcp any host 200.124.230.180 object-group DM_INLINE_TCP_1

access-list AA-UIO-OUTSIDE_access_in extended permit ip any any

access-list AA-UIO-DMZ_access_in extended permit ip any any

access-list AA-UIO-OUTSIDE_1_cryptomap extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0

pager lines 24

logging enable

logging asdm informational

mtu AA-UIO-OUTSIDE 1220

mtu AA-UIO-DMZ 1500

mtu AA-UIO-INSIDE 1500

mtu management 1500

ip local pool VPN-TOUIO-P1 192.168.1.60-192.168.1.65 mask 255.255.255.0

ip local pool pool1 192.168.1.85-192.168.1.89 mask 255.255.255.0

ip local pool VPN-TOUIO-POOL 192.168.1.70-192.168.1.75 mask 255.255.255.0

ip local pool vpn-pool-acces 192.168.1.58-192.168.1.59 mask 255.255.255.0

no failover

icmp unreachable rate-limit 1 burst-size 1

asdm history enable

arp timeout 14400

global (AA-UIO-OUTSIDE) 1 interface

nat (AA-UIO-INSIDE) 0 access-list AA-UIO-INSIDE_nat0_outbound_1

nat (AA-UIO-INSIDE) 1 0.0.0.0 0.0.0.0

static (AA-UIO-DMZ,AA-UIO-OUTSIDE) 200.124.230.178 172.16.1.1 netmask 255.255.255.255

static (AA-UIO-DMZ,AA-UIO-OUTSIDE) 200.124.230.180 172.16.1.3 netmask 255.255.255.255

static (AA-UIO-DMZ,AA-UIO-OUTSIDE) 200.124.230.179 172.16.1.11 netmask 255.255.255.255

access-group AA-UIO-OUTSIDE_access_in in interface AA-UIO-OUTSIDE

access-group AA-UIO-DMZ_access_in in interface AA-UIO-DMZ

access-group AA-UIO-INSIDE_access_in in interface AA-UIO-INSIDE

route AA-UIO-OUTSIDE 0.0.0.0 0.0.0.0 200.124.230.177 1

route AA-UIO-OUTSIDE 192.168.3.0 255.255.255.0 190.90.138.134 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

timeout floating-conn 0:00:00

dynamic-access-policy-record DfltAccessPolicy

aaa authentication telnet console LOCAL

aaa authentication ssh console LOCAL

http server enable

http 192.168.4.0 255.255.255.0 management

http 0.0.0.0 0.0.0.0 AA-UIO-OUTSIDE

http 0.0.0.0 0.0.0.0 AA-UIO-INSIDE

no snmp-server location

no snmp-server contact

snmp-server enable traps snmp authentication linkup linkdown coldstart

sysopt connection tcpmss 1200

sysopt noproxyarp AA-UIO-OUTSIDE

crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac

crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac

crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac

crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac

crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac

crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac

crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac

crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac

crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac

crypto ipsec transform-set FirstSet esp-3des esp-md5-hmac

crypto ipsec transform-set AA-CRYPTO-SET esp-aes-256 esp-md5-hmac

crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac

crypto ipsec security-association lifetime seconds 3600

crypto ipsec security-association lifetime kilobytes 2048

crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs group1

crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set 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-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5

crypto dynamic-map AA-UIO-OUTSIDE_dyn_map 1 set pfs group1

crypto dynamic-map AA-UIO-OUTSIDE_dyn_map 1 set transform-set ESP-3DES-MD5

crypto dynamic-map dyn1 1 set pfs group1

crypto dynamic-map dyn1 1 set transform-set FirstSet

crypto dynamic-map dyn1 1 set reverse-route

crypto map AA-UIO-OUTSIDE_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP

crypto map AA-CRYPTO-MAP 65535 ipsec-isakmp dynamic AA-UIO-OUTSIDE_dyn_map

crypto map mymap 1 ipsec-isakmp dynamic dyn1

crypto map AA-UIO-OUTSIDE_map2 1 match address AA-UIO-OUTSIDE_1_cryptomap

crypto map AA-UIO-OUTSIDE_map2 1 set pfs group1

crypto map AA-UIO-OUTSIDE_map2 1 set peer 190.90.138.134

crypto map AA-UIO-OUTSIDE_map2 1 set transform-set ESP-3DES-SHA

crypto map AA-UIO-OUTSIDE_map2 1 set reverse-route

crypto map AA-UIO-OUTSIDE_map2 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP

crypto map AA-UIO-OUTSIDE_map2 interface AA-UIO-OUTSIDE

crypto ca trustpoint _SmartCallHome_ServerCA

crl configure

crypto ca certificate chain _SmartCallHome_ServerCA

certificate ca 6ecc7aa5a7032009b8cebcf4e952d491

    308205ec 308204d4 a0030201 0202106e cc7aa5a7 032009b8 cebcf4e9 52d49130

    0d06092a 864886f7 0d010105 05003081 ca310b30 09060355 04061302 55533117

    30150603 55040a13 0e566572 69536967 6e2c2049 6e632e31 1f301d06 0355040b

    13165665 72695369 676e2054 72757374 204e6574 776f726b 313a3038 06035504

    0b133128 63292032 30303620 56657269 5369676e 2c20496e 632e202d 20466f72

    20617574 686f7269 7a656420 75736520 6f6e6c79 31453043 06035504 03133c56

    65726953 69676e20 436c6173 73203320 5075626c 69632050 72696d61 72792043

    65727469 66696361 74696f6e 20417574 686f7269 7479202d 20473530 1e170d31

    30303230 38303030 3030305a 170d3230 30323037 32333539 35395a30 81b5310b

    30090603 55040613 02555331 17301506 0355040a 130e5665 72695369 676e2c20

    496e632e 311f301d 06035504 0b131656 65726953 69676e20 54727573 74204e65

    74776f72 6b313b30 39060355 040b1332 5465726d 73206f66 20757365 20617420

    68747470 733a2f2f 7777772e 76657269 7369676e 2e636f6d 2f727061 20286329

    3130312f 302d0603 55040313 26566572 69536967 6e20436c 61737320 33205365

    63757265 20536572 76657220 4341202d 20473330 82012230 0d06092a 864886f7

    0d010101 05000382 010f0030 82010a02 82010100 b187841f c20c45f5 bcab2597

    a7ada23e 9cbaf6c1 39b88bca c2ac56c6 e5bb658e 444f4dce 6fed094a d4af4e10

    9c688b2e 957b899b 13cae234 34c1f35b f3497b62 83488174 d188786c 0253f9bc

    7f432657 5833833b 330a17b0 d04e9124 ad867d64 12dc744a 34a11d0a ea961d0b

    15fca34b 3bce6388 d0f82d0c 948610ca b69a3dca eb379c00 48358629 5078e845

    63cd1941 4ff595ec 7b98d4c4 71b350be 28b38fa0 b9539cf5 ca2c23a9 fd1406e8

    18b49ae8 3c6e81fd e4cd3536 b351d369 ec12ba56 6e6f9b57 c58b14e7 0ec79ced

    4a546ac9 4dc5bf11 b1ae1c67 81cb4455 33997f24 9b3f5345 7f861af3 3cfa6d7f

    81f5b84a d3f58537 1cb5a6d0 09e4187b 384efa0f 02030100 01a38201 df308201

    db303406 082b0601 05050701 01042830 26302406 082b0601 05050730 01861868

    7474703a 2f2f6f63 73702e76 65726973 69676e2e 636f6d30 12060355 1d130101

    ff040830 060101ff 02010030 70060355 1d200469 30673065 060b6086 480186f8

    45010717 03305630 2806082b 06010505 07020116 1c687474 70733a2f 2f777777

    2e766572 69736967 6e2e636f 6d2f6370 73302a06 082b0601 05050702 02301e1a

    1c687474 70733a2f 2f777777 2e766572 69736967 6e2e636f 6d2f7270 61303406

    03551d1f 042d302b 3029a027 a0258623 68747470 3a2f2f63 726c2e76 65726973

    69676e2e 636f6d2f 70636133 2d67352e 63726c30 0e060355 1d0f0101 ff040403

    02010630 6d06082b 06010505 07010c04 61305fa1 5da05b30 59305730 55160969

    6d616765 2f676966 3021301f 30070605 2b0e0302 1a04148f e5d31a86 ac8d8e6b

    c3cf806a d448182c 7b192e30 25162368 7474703a 2f2f6c6f 676f2e76 65726973

    69676e2e 636f6d2f 76736c6f 676f2e67 69663028 0603551d 11042130 1fa41d30

    1b311930 17060355 04031310 56657269 5369676e 4d504b49 2d322d36 301d0603

    551d0e04 1604140d 445c1653 44c1827e 1d20ab25 f40163d8 be79a530 1f060355

    1d230418 30168014 7fd365a7 c2ddecbb f03009f3 4339fa02 af333133 300d0609

    2a864886 f70d0101 05050003 82010100 0c8324ef ddc30cd9 589cfe36 b6eb8a80

    4bd1a3f7 9df3cc53 ef829ea3 a1e697c1 589d756c e01d1b4c fad1c12d 05c0ea6e

    b2227055 d9203340 3307c265 83fa8f43 379bea0e 9a6c70ee f69c803b d937f47a

    6decd018 7d494aca 99c71928 a2bed877 24f78526 866d8705 404167d1 273aeddc

    481d22cd 0b0b8bbc f4b17bfd b499a8e9 762ae11a 2d876e74 d388dd1e 22c6df16

    b62b8214 0a945cf2 50ecafce ff62370d ad65d306 4153ed02 14c8b558 28a1ace0

    5becb37f 954afb03 c8ad26db e6667812 4ad99f42 fbe198e6 42839b8f 8f6724e8

    6119b5dd cdb50b26 058ec36e c4c875b8 46cfe218 065ea9ae a8819a47 16de0c28

    6c2527b9 deb78458 c61f381e a4c4cb66

  quit

crypto isakmp identity address

crypto isakmp enable AA-UIO-OUTSIDE

crypto isakmp enable AA-UIO-INSIDE

crypto isakmp policy 10

authentication pre-share

encryption 3des

hash sha

group 2

lifetime 86400

telnet 0.0.0.0 0.0.0.0 AA-UIO-OUTSIDE

telnet 0.0.0.0 0.0.0.0 AA-UIO-INSIDE

telnet timeout 5

ssh 0.0.0.0 0.0.0.0 AA-UIO-OUTSIDE

ssh timeout 60

console timeout 0

management-access AA-UIO-INSIDE

dhcpd address 192.168.4.2-192.168.4.254 management

dhcpd enable management

!

priority-queue AA-UIO-OUTSIDE

  queue-limit   8

  tx-ring-limit 64

threat-detection basic-threat

threat-detection statistics host

threat-detection statistics access-list

threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200

webvpn

enable AA-UIO-OUTSIDE

group-policy DfltGrpPolicy attributes

dns-server value 200.124.224.195

vpn-filter value VPN_FILTER

group-policy GroupPolicy1 internal

group-policy GroupPolicy1 attributes

vpn-idle-timeout 120

vpn-filter value VPN_FILTER

vpn-tunnel-protocol IPSec

group-policy TOUIO_1 internal

group-policy TOUIO_1 attributes

dns-server value 200.124.224.195

vpn-filter value VPN_FILTER

vpn-tunnel-protocol IPSec

default-domain value acurioasociados.com

username user1 password GIggcPzhPaH/A3Za encrypted

username user1 attributes

vpn-group-policy TOUIO_1

username user2 password GIggcPzhPaH/A3Za encrypted

username user2 attributes

vpn-group-policy TOUIO_1

tunnel-group DefaultL2LGroup general-attributes

default-group-policy GroupPolicy1

tunnel-group DefaultRAGroup general-attributes

address-pool VPN-TOUIO-P1

default-group-policy TOUIO_1

tunnel-group TOUIO type remote-access

tunnel-group TOUIO general-attributes

address-pool vpn-pool-acces

default-group-policy TOUIO_1

tunnel-group TOUIO ipsec-attributes

pre-shared-key *****

tunnel-group 190.90.138.134 type ipsec-l2l

tunnel-group 190.90.138.134 general-attributes

default-group-policy TOUIO_1

tunnel-group 190.90.138.134 ipsec-attributes

pre-shared-key *****

!

class-map DATA

match flow ip destination-address

match tunnel-group 190.90.138.134

class-map VOICE

match access-list AA-UIO-OUTSIDE_mpc

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

policy-map VPN_POLICY

class VOICE

  priority

class DATA

  priority

!

service-policy global_policy global

service-policy VPN_POLICY interface AA-UIO-OUTSIDE

prompt hostname context

call-home reporting anonymous

Cryptochecksum:7a384bdac9eac97c0ca4770d6077b5e8

: end

asdm location 200.124.230.182 255.255.255.255 management

asdm history enable

: Saved

:

ASA Version 8.2(5)

!

hostname AA-GYE

domain-name acurioasociados.com

enable password /bFBrYIFJbZcK6oN encrypted

passwd /bFBrYIFJbZcK6oN encrypted

no names

name 192.168.1.0 SiteA-Subnet

!

interface Ethernet0/0

switchport access vlan 2

switchport trunk allowed vlan 1-2

!

interface Ethernet0/1

switchport trunk allowed vlan 1-2

!

interface Ethernet0/2

!

interface Ethernet0/3

!

interface Ethernet0/4

!

interface Ethernet0/5

!

interface Ethernet0/6

!

interface Ethernet0/7

!

interface Vlan1

nameif inside

security-level 0

ip address 192.168.3.10 255.255.255.0

!

interface Vlan2

nameif outside

security-level 0

ip address 190.90.138.134 255.255.255.248

!

ftp mode passive

clock timezone ECT -5

dns domain-lookup inside

dns domain-lookup outside

dns server-group DefaultDNS

name-server 190.108.64.2

domain-name acurioasociados.com

same-security-traffic permit inter-interface

same-security-traffic permit intra-interface

object-group service DM_INLINE_SERVICE_4

service-object ip

service-object udp eq 4569

object-group service DM_INLINE_SERVICE_5

service-object ip

service-object udp eq 4569

object-group protocol DM_INLINE_PROTOCOL_2

protocol-object ip

protocol-object udp

object-group service DM_INLINE_SERVICE_1

service-object ip

service-object esp

service-object ah

service-object tcp eq 10000

service-object udp eq isakmp

object-group service DM_INLINE_SERVICE_2

service-object ip

service-object icmp

service-object udp

service-object tcp

service-object icmp echo-reply

service-object tcp eq echo

object-group network DM_INLINE_NETWORK_1

network-object host 190.90.138.134

network-object 192.168.1.0 255.255.255.0

object-group service DM_INLINE_SERVICE_3

service-object ip

service-object udp

service-object tcp eq 3389

object-group service DM_INLINE_SERVICE_6

service-object ip

service-object udp

service-object udp eq 4569

object-group service DM_INLINE_SERVICE_7

service-object ip

service-object udp eq 2490

service-object udp eq 4569

service-object udp eq ntp

object-group network DM_INLINE_NETWORK_2

network-object 190.90.138.128 255.255.255.248

network-object 192.168.1.0 255.255.255.0

object-group service DM_INLINE_SERVICE_8

service-object ip

service-object udp

service-object udp eq 24940

service-object udp eq 4569

service-object udp eq ntp

access-list outside_access_in extended permit object-group DM_INLINE_SERVICE_1 any 190.90.138.128 255.255.255.248

access-list outside_access_in extended permit ip any any

access-list outside_access_in extended permit object-group DM_INLINE_SERVICE_2 any object-group DM_INLINE_NETWORK_2

access-list outside_access_in extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0

access-list outside_access_in extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list outside_access_in extended permit ip 192.168.3.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list outside_access_in extended deny object-group DM_INLINE_SERVICE_8 host 192.168.3.3 any

access-list inside_access_in extended permit ip any any

access-list inside_access_in extended permit object-group DM_INLINE_SERVICE_3 192.168.3.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list inside_access_in extended permit ip 192.168.3.0 255.255.255.0 object-group DM_INLINE_NETWORK_1

access-list inside_access_in extended permit ip 192.168.3.0 255.255.255.0 any

access-list inside_access_in extended permit object-group DM_INLINE_SERVICE_6 host 192.168.3.3 host 192.168.1.13

access-list inside_access_in extended deny object-group DM_INLINE_SERVICE_7 host 192.168.3.3 any

access-list captout extended permit ip host 192.168.3.10 192.168.1.0 255.255.255.0

access-list captout extended permit ip host 190.90.138.134 host 200.124.230.182

access-list captout extended permit ip host 200.124.230.182 host 190.90.138.134

access-list inside_nat0_outbound extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0

access-list inside_nat0_outbound extended permit ip 192.168.3.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list vpnguayaquil_splitTunnelAcl standard permit 192.168.3.0 255.255.255.0

access-list VPN_FILTER extended permit object-group DM_INLINE_SERVICE_4 host 192.168.1.13 host 192.168.3.3

access-list VPN_FILTER extended permit ip 192.168.3.0 255.255.255.0 host 190.90.138.134

access-list VPN_FILTER extended deny object-group DM_INLINE_SERVICE_5 any host 192.168.3.3

access-list VPN_FILTER extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0

access-list VPN_FILTER extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0

access-list VPN_FILTER extended permit ip any any

access-list outside_mpc extended permit object-group DM_INLINE_PROTOCOL_2 host 192.168.3.3 host 192.168.1.13

access-list outside_1_cryptomap extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0

access-list inside_nat0_outbound_1 extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0

access-list inside_nat0_outbound_1 extended permit ip 192.168.3.0 255.255.255.0 192.168.3.0 255.255.255.0

pager lines 24

logging enable

logging asdm informational

mtu inside 1500

mtu outside 1220

ip local pool vpngye 192.168.3.51-192.168.3.52 mask 255.255.255.0

ip local pool cpool 192.168.3.150-192.168.3.151 mask 255.255.255.0

no failover

icmp unreachable rate-limit 1 burst-size 1

asdm history enable

arp timeout 14400

global (outside) 1 interface

nat (inside) 0 access-list inside_nat0_outbound_1

nat (inside) 1 0.0.0.0 0.0.0.0

access-group inside_access_in in interface inside

access-group outside_access_in in interface outside

route outside 0.0.0.0 0.0.0.0 190.90.138.129 1

route outside 192.168.1.0 255.255.255.0 200.124.230.182 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

timeout floating-conn 0:00:00

dynamic-access-policy-record DfltAccessPolicy

aaa authentication telnet console LOCAL

aaa authentication ssh console LOCAL

http server enable

http 0.0.0.0 0.0.0.0 outside

http 0.0.0.0 0.0.0.0 inside

no snmp-server location

no snmp-server contact

snmp-server enable traps snmp authentication linkup linkdown coldstart

sysopt connection tcpmss 1200

crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac

crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac

crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac

crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac

crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac

crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac

crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac

crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac

crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac

crypto ipsec transform-set AA-CRYPTO-SET esp-aes-256 esp-md5-hmac

crypto ipsec transform-set FirstSet esp-3des esp-md5-hmac

crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac

crypto ipsec security-association lifetime seconds 3600

crypto ipsec security-association lifetime kilobytes 2048

crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs group1

crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set 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-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5

crypto dynamic-map outside_dyn_map 1 set transform-set AA-CRYPTO-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-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5

crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP

crypto map AA-CRYPTO-MAP 65535 ipsec-isakmp dynamic outside_dyn_map

crypto map outside_map2 1 match address outside_1_cryptomap

crypto map outside_map2 1 set pfs group1

crypto map outside_map2 1 set peer 200.124.230.182

crypto map outside_map2 1 set transform-set ESP-3DES-SHA

crypto map outside_map2 1 set security-association lifetime seconds 3600

crypto map outside_map2 1 set security-association lifetime kilobytes 4608000

crypto map outside_map2 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP

crypto map outside_map2 interface outside

crypto ca trustpoint _SmartCallHome_ServerCA

crl configure

crypto ca certificate chain _SmartCallHome_ServerCA

certificate ca 6ecc7aa5a7032009b8cebcf4e952d491

    308205ec 308204d4 a0030201 0202106e cc7aa5a7 032009b8 cebcf4e9 52d49130

    0d06092a 864886f7 0d010105 05003081 ca310b30 09060355 04061302 55533117

    30150603 55040a13 0e566572 69536967 6e2c2049 6e632e31 1f301d06 0355040b

    13165665 72695369 676e2054 72757374 204e6574 776f726b 313a3038 06035504

    0b133128 63292032 30303620 56657269 5369676e 2c20496e 632e202d 20466f72

    20617574 686f7269 7a656420 75736520 6f6e6c79 31453043 06035504 03133c56

    65726953 69676e20 436c6173 73203320 5075626c 69632050 72696d61 72792043

    65727469 66696361 74696f6e 20417574 686f7269 7479202d 20473530 1e170d31

    30303230 38303030 3030305a 170d3230 30323037 32333539 35395a30 81b5310b

    30090603 55040613 02555331 17301506 0355040a 130e5665 72695369 676e2c20

    496e632e 311f301d 06035504 0b131656 65726953 69676e20 54727573 74204e65

    74776f72 6b313b30 39060355 040b1332 5465726d 73206f66 20757365 20617420

    68747470 733a2f2f 7777772e 76657269 7369676e 2e636f6d 2f727061 20286329

    3130312f 302d0603 55040313 26566572 69536967 6e20436c 61737320 33205365

    63757265 20536572 76657220 4341202d 20473330 82012230 0d06092a 864886f7

    0d010101 05000382 010f0030 82010a02 82010100 b187841f c20c45f5 bcab2597

    a7ada23e 9cbaf6c1 39b88bca c2ac56c6 e5bb658e 444f4dce 6fed094a d4af4e10

    9c688b2e 957b899b 13cae234 34c1f35b f3497b62 83488174 d188786c 0253f9bc

    7f432657 5833833b 330a17b0 d04e9124 ad867d64 12dc744a 34a11d0a ea961d0b

    15fca34b 3bce6388 d0f82d0c 948610ca b69a3dca eb379c00 48358629 5078e845

    63cd1941 4ff595ec 7b98d4c4 71b350be 28b38fa0 b9539cf5 ca2c23a9 fd1406e8

    18b49ae8 3c6e81fd e4cd3536 b351d369 ec12ba56 6e6f9b57 c58b14e7 0ec79ced

    4a546ac9 4dc5bf11 b1ae1c67 81cb4455 33997f24 9b3f5345 7f861af3 3cfa6d7f

    81f5b84a d3f58537 1cb5a6d0 09e4187b 384efa0f 02030100 01a38201 df308201

    db303406 082b0601 05050701 01042830 26302406 082b0601 05050730 01861868

    7474703a 2f2f6f63 73702e76 65726973 69676e2e 636f6d30 12060355 1d130101

    ff040830 060101ff 02010030 70060355 1d200469 30673065 060b6086 480186f8

    45010717 03305630 2806082b 06010505 07020116 1c687474 70733a2f 2f777777

    2e766572 69736967 6e2e636f 6d2f6370 73302a06 082b0601 05050702 02301e1a

    1c687474 70733a2f 2f777777 2e766572 69736967 6e2e636f 6d2f7270 61303406

    03551d1f 042d302b 3029a027 a0258623 68747470 3a2f2f63 726c2e76 65726973

    69676e2e 636f6d2f 70636133 2d67352e 63726c30 0e060355 1d0f0101 ff040403

    02010630 6d06082b 06010505 07010c04 61305fa1 5da05b30 59305730 55160969

    6d616765 2f676966 3021301f 30070605 2b0e0302 1a04148f e5d31a86 ac8d8e6b

    c3cf806a d448182c 7b192e30 25162368 7474703a 2f2f6c6f 676f2e76 65726973

    69676e2e 636f6d2f 76736c6f 676f2e67 69663028 0603551d 11042130 1fa41d30

    1b311930 17060355 04031310 56657269 5369676e 4d504b49 2d322d36 301d0603

    551d0e04 1604140d 445c1653 44c1827e 1d20ab25 f40163d8 be79a530 1f060355

    1d230418 30168014 7fd365a7 c2ddecbb f03009f3 4339fa02 af333133 300d0609

    2a864886 f70d0101 05050003 82010100 0c8324ef ddc30cd9 589cfe36 b6eb8a80

    4bd1a3f7 9df3cc53 ef829ea3 a1e697c1 589d756c e01d1b4c fad1c12d 05c0ea6e

    b2227055 d9203340 3307c265 83fa8f43 379bea0e 9a6c70ee f69c803b d937f47a

    6decd018 7d494aca 99c71928 a2bed877 24f78526 866d8705 404167d1 273aeddc

    481d22cd 0b0b8bbc f4b17bfd b499a8e9 762ae11a 2d876e74 d388dd1e 22c6df16

    b62b8214 0a945cf2 50ecafce ff62370d ad65d306 4153ed02 14c8b558 28a1ace0

    5becb37f 954afb03 c8ad26db e6667812 4ad99f42 fbe198e6 42839b8f 8f6724e8

    6119b5dd cdb50b26 058ec36e c4c875b8 46cfe218 065ea9ae a8819a47 16de0c28

    6c2527b9 deb78458 c61f381e a4c4cb66

  quit

crypto isakmp identity address

crypto isakmp enable outside

crypto isakmp policy 10

authentication pre-share

encryption 3des

hash sha

group 2

lifetime 86400

telnet 0.0.0.0 0.0.0.0 inside

telnet 0.0.0.0 0.0.0.0 outside

telnet timeout 5

ssh 0.0.0.0 0.0.0.0 outside

ssh timeout 60

console timeout 0

management-access inside

dhcpd auto_config outside

!

dhcpd address 192.168.3.30-192.168.3.70 inside

dhcpd dns 190.108.64.2 190.108.65.3 interface inside

dhcpd option 3 ip 192.168.3.10 interface inside

dhcpd enable inside

!

priority-queue outside

  queue-limit   8

  tx-ring-limit 64

threat-detection basic-threat

threat-detection scanning-threat

threat-detection statistics host

threat-detection statistics access-list

threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200

webvpn

enable outside

internal-password enable

group-policy DfltGrpPolicy attributes

vpn-filter value VPN_FILTER

vpn-tunnel-protocol IPSec l2tp-ipsec

group-policy GroupPolicy2 internal

group-policy GroupPolicy2 attributes

vpn-filter value VPN_FILTER

vpn-tunnel-protocol IPSec

group-policy GroupPolicy1 internal

group-policy GroupPolicy1 attributes

vpn-idle-timeout 120

vpn-filter value VPN_FILTER

vpn-tunnel-protocol IPSec

group-policy TOGYE internal

group-policy TOGYE attributes

wins-server none

dns-server value 190.108.64.2 190.108.65.3

vpn-filter value VPN_FILTER

vpn-tunnel-protocol IPSec

default-domain value acurioasociados.com

group-policy TOGYE_1 internal

group-policy TOGYE_1 attributes

dns-server value 190.108.64.2

vpn-filter value VPN_FILTER

vpn-tunnel-protocol IPSec

default-domain value acurioasociados.com

username user1 password UKj.cRsFeiDSDqnY encrypted

username user1 attributes

vpn-group-policy TOGYE_1

username user2 password GIggcPzhPaH/A3Za encrypted

username user2 attributes

vpn-group-policy TOGYE_1

tunnel-group DefaultL2LGroup general-attributes

default-group-policy GroupPolicy1

tunnel-group DefaultRAGroup general-attributes

default-group-policy TOGYE_1

tunnel-group 200.124.230.182 type ipsec-l2l

tunnel-group 200.124.230.182 general-attributes

default-group-policy TOGYE_1

tunnel-group 200.124.230.182 ipsec-attributes

pre-shared-key *****

tunnel-group TOGYE type remote-access

tunnel-group TOGYE general-attributes

address-pool vpngye

default-group-policy TOGYE_1

tunnel-group TOGYE ipsec-attributes

pre-shared-key *****

!

class-map DATA

match flow ip destination-address

match tunnel-group 200.124.230.182

class-map VOICE

match access-list outside_mpc

class-map type regex match-any CLASSP

match regex _default_gator

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

policy-map VPN_POLICY

class VOICE

  priority

policy-map global-policy

class inspection_default

  inspect icmp

  inspect ip-options

  inspect sip 

!

service-policy global_policy global

service-policy VPN_POLICY interface outside

prompt hostname context

call-home reporting anonymous

Cryptochecksum:9db54b6b9b0b8c58f58655777ced076a

: end

asdm location 192.168.1.0 255.255.255.0 inside

asdm history enable

Hi,

The above configuration doesnt have the "inspect icmp" configuration at all

In the lower configuration you atleast have the "inspect icmp" under the wrong place.

Its under

policy-map global-policy

class inspection_default

When it should be under

policy-map global_policy

class inspection_default

Notice that the "-" mark should be "_"

I would not recomend using the same VPN Filter ACL on VPN Client connections and L2L VPN connections because both need a different type of ACL

With VPN Clients you simply allow traffic from the VPN Pool to the Local networks

With L2L VPN Filter ACL the source network for the ACL rules is always the remote network

Can you tell me what you are testing with through the L2L VPN connection?

  • source IP
  • destination IP
  • service? TCP/UDP/ICMP ?
    • What port for TCP or UDP

On the ASA thats not sending back traffic to the L2L VPN you could use the "packet-tracer" command to see what happens to the connection you attempt.

The command format is

packet-tracer input inside tcp

- Jouni

I configure the ASA like you say, but I continue with the problem, I probe the packet-tracer, with a tcp echo, I have response in one sense, but in the other sense I dont have response....... look,

I did the test with a echo tcp; but I really dont know Why my packet is dropped, I tried using an ACL which permit any ip ip, but I doesnt function....

Hi,

Please dont use the ASAs interface IPs as the source for the packet-tracer. Use some random source IP from the LAN network.

Why do you use the "AA-UIO-OUTSIDE" interface as the source interface in the second packet-tracer?

On the ASA called AA-ASA-UIO Please do the packet-tracer with for example the following information

  • Source IP 192.168.1.220
  • Source Port TCP 1025
  • Destination IP 192.168.3.100
  • Destination Port TCP 80

And on ASA called AA-GYE

  • Source IP 192.168.3.100
  • Source Port TCP 1025
  • Destination IP 192.168.1.220
  • Destination Port TCP 80

- Jouni

I just  change the source and destine IP and I have response from both senses,

But I continue without receiving data in the ASA-GYE as the beginning... what can it means?

So,

Both of the "packet-tracer" you did above test what happens to the connection when the LAN host tries to access the REMOTE host.

Do notice that this "packet-tracer" ONLY tells what WOULD happen if such a packet would come to the ASA firewall. Even if it seems to go fine it hasnt actually sent any traffic to the REMOTE end. Packet-tracer doesnt generate any real traffic. You can only use it to confirm that everythings ok regarding the ASAs configurations.

Would it be possible to next try to remove the Group-Policy from under the L2L VPN configurations on both ASA firewalls? This would mean that there would be no Filter ACL used on the L2L VPN connection. This would help alot with the testing as we could rule out the ACL preventing the connections you are testing.

You could remove the Group-policys from under the L2L VPN configuration in the following way

AA-GYE

tunnel-group 200.124.230.182 general-attributes

  no default-group-policy TOGYE_1

AA-ASA-UIO

tunnel-group 190.90.138.134 general-attributes

  no default-group-policy TOUIO_1

You might need to log out the L2L VPN connection after this change. (I'm not 100% sure if the ASA needs this for the changes to take effect on the L2L VPN)

After you have removed the Group-policy from under the L2L VPN tunnel-group configuration on both ASA, test the connections through the L2L VPN from an actual host on the LAN

Could you also please tell me what connection are you testing? What is the source IP, destination IP and destination port?

Consider testing with different services (if you have something enabled on the remote site hosts/servers) to rule out problem with the actual service you are trying to reach

- Jouni

So, in this way the group policy that will be enabled is the "DfltGrpPolicy"? and this doesnt have any ACL assigned...?

        the service Im trying to probe is VoIP 4569, between 192.168.1.13 and 192.168.3.3....

        Other service I want to use is http. I want to access from any host in 192.168.3.0 to http://192.168.1.1/climalaboral which are some quizes

Hi,

I'd recommend using different group-policy for every connection you configure.

If you VPN client connections need an VPN Filter, configure a Group-Policy for that VPN Client connection and attach the filter there. Same for L2L VPN, if you need Filter for it, make a new Group-policy just to be used with the L2L VPN connection and nothing else. I guess even if you remove the group-policy from the L2L VPN, it would then inherit the default-group policy you have configured which has the VPN Filter under it.

I would test actual connections from hosts behind the ASA through the L2L VPN wihtout having any VPN Filter ACL on the actual L2L VPN connection.

I'm still not quite sure what connections you are trying to take through the L2L VPN. So fat I have only seen packet-tracer tests. The packet-tracer functionality of the ASA will only tell you what the ASA would do to the traffic but doesnt generate traffic.

- Jouni

Ok let me check, Im going to erase actual Site to site VPN and Im going to create a new Site to Site VPN with no ACLs rules, Im just going to follow the wizard, in this way when I finish to configure it, how can I probe my VPN is ok, actually Im not care about client VPN because its function is OK. I just want that some remote host would be connected through Site to Site VPN, for example I have two VoIP centrals which needs to connect, also I have a fileserver that need to be seen in two networks

CAn you help me with the correct configuration in order to make a Site to site VPN between both networks, Im trying to create a new connection and at first I have a trouble to erase actual VPN, I receive the message that VPN is actually being used by CLASS MAP DATA... What else do I have to erase?

Hi,

In your above configurations I can atleast see the following configurations that seem to relate to the L2L VPN configurations

class-map DATA

match flow ip destination-address

match tunnel-group 200.124.230.182

tunnel-group 200.124.230.182 type ipsec-l2l

tunnel-group 200.124.230.182 general-attributes

default-group-policy TOGYE_1

tunnel-group 200.124.230.182 ipsec-attributes

pre-shared-key *****

crypto map outside_map2 1 match address outside_1_cryptomap

crypto map outside_map2 1 set pfs group1

crypto map outside_map2 1 set peer 200.124.230.182

crypto map outside_map2 1 set transform-set ESP-3DES-SHA

crypto map outside_map2 1 set security-association lifetime seconds 3600

crypto map outside_map2 1 set security-association lifetime kilobytes 4608000

Naturally there are NAT0 ACLs and the "outside_1_cryptomap" that are left after that but they dont necesarily need to be removed to configure the L2L VPN again.

I imagine the first configuration is the one that doesnt let you remove the L2L VPN Configurations. Perhaps you need to remove them first

I mean the following configuration

class-map DATA

match flow ip destination-address

match tunnel-group 200.124.230.182

- Jouni

Hi... Look... I created again the VPNs and I erased other things (restored the both ASAs) but I continue with my original problem, I dont have received data at one ASA (190.90.138.134)... CAn you help me... These are my new runnning configs:

ASA Version 8.2(5) 
!
hostname ciscoasa
enable password /bFBrYIFJbZcK6oN encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
 switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.3.10 255.255.255.0 
!
interface Vlan2
 nameif outside
 security-level 0
 ip address 190.90.138.134 255.255.255.248 
!
ftp mode passive
dns domain-lookup inside
dns domain-lookup outside
dns server-group DefaultDNS
 name-server 190.108.64.2
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list outside_1_cryptomap extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0 
access-list inside_nat0_outbound extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0 
access-list inside_nat0_outbound extended permit ip 192.168.3.0 255.255.255.0 192.168.3.0 255.255.255.0 
access-list outside_access_in extended permit ip any any 
access-list inside_access_in extended permit ip any any 
access-list outside_access_in_1 extended permit ip any any 
access-list VPN_FILTER extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0 
access-list VPN_FILTER extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0 
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
icmp permit any inside
icmp permit 192.168.1.0 255.255.255.0 inside
icmp permit 192.168.3.0 255.255.255.0 inside
icmp permit any outside
icmp permit 192.168.1.0 255.255.255.0 outside
icmp permit 192.168.3.0 255.255.255.0 outside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
access-group inside_access_in in interface inside
access-group outside_access_in_1 in interface outside control-plane
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 190.90.138.129 1
route outside 192.168.1.0 255.255.255.255 200.124.230.182 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
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.3.0 255.255.255.0 inside
http 190.90.134.128 255.255.255.248 outside
http 0.0.0.0 0.0.0.0 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac 
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac 
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac 
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac 
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac 
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac 
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac 
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs group1
crypto map outside_map 1 set peer 200.124.230.182 
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
crypto isakmp ipsec-over-tcp port 10000 
crypto isakmp disconnect-notify
telnet timeout 5
ssh timeout 5
console timeout 0
management-access inside
dhcpd auto_config outside
!
dhcpd address 192.168.3.14-192.168.3.254 inside
dhcpd dns 190.108.64.2 190.108.65.3 interface inside
dhcpd domain acurioasociados.com interface inside
dhcpd option 3 ip 192.168.3.10 interface inside
dhcpd enable inside
!

priority-queue outside
  queue-limit   8
  tx-ring-limit 64
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
group-policy DfltGrpPolicy attributes
 vpn-filter value VPN_FILTER
 vpn-tunnel-protocol IPSec l2tp-ipsec 
tunnel-group 200.124.230.182 type ipsec-l2l
tunnel-group 200.124.230.182 ipsec-attributes
 pre-shared-key *****
 peer-id-validate cert
!
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:0e5b891c206b97fb7e6eeaea639e195d
: end
no asdm history enable

ASA Version 8.2(5) 
!
hostname ciscoasa
enable password 0kQRlj/L0cSybo/4 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
 nameif outside
 security-level 0
 ip address 200.124.230.182 255.255.255.248 
!
interface Ethernet0/1
 nameif DMZ
 security-level 0
 ip address 172.16.1.4 255.255.0.0 
!
interface Ethernet0/2
 nameif inside
 security-level 0
 ip address 192.168.1.208 255.255.255.0 
!
interface Ethernet0/3
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Management0/0
 nameif management
 security-level 100
 ip address 192.168.4.1 255.255.255.0 
 management-only
!
ftp mode passive
dns domain-lookup outside
dns domain-lookup inside
dns domain-lookup management
dns server-group DefaultDNS
 name-server 200.124.224.195
 name-server 200.124.224.196
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0 
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.1.0 255.255.255.0 
access-list outside_1_cryptomap extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0 
access-list outside_access_in extended permit ip any any 
access-list inside_access_in extended permit ip any any 
access-list outside_access_in_1 extended permit ip any any 
access-list VPN_FILTER extended permit ip 192.168.3.0 255.255.255.0 192.168.1.0 255.255.255.0 
access-list VPN_FILTER extended permit ip 192.168.1.0 255.255.255.0 192.168.3.0 255.255.255.0 
pager lines 24
logging asdm informational
mtu outside 1500
mtu DMZ 1500
mtu inside 1500
mtu management 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
icmp permit 192.168.3.0 255.255.255.0 outside
icmp permit 192.168.1.0 255.255.255.0 outside
icmp permit any inside
icmp permit 192.168.3.0 255.255.255.0 inside
icmp permit 192.168.1.0 255.255.255.0 inside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
access-group outside_access_in_1 in interface outside control-plane
access-group outside_access_in in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 200.124.230.177 1
route outside 192.168.3.0 255.255.255.0 190.90.138.134 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
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.4.0 255.255.255.0 management
http 192.168.1.0 255.255.255.0 inside
http 200.124.230.176 255.255.255.248 outside
http 190.90.138.128 255.255.255.248 outside
http 0.0.0.0 0.0.0.0 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac 
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac 
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac 
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac 
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac 
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac 
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac 
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map outside_map0 1 match address outside_1_cryptomap
crypto map outside_map0 1 set pfs group1
crypto map outside_map0 1 set peer 190.90.138.134 
crypto map outside_map0 1 set transform-set ESP-3DES-SHA
crypto map outside_map0 interface outside
crypto ca trustpoint _SmartCallHome_ServerCA
 crl configure
crypto ca certificate chain _SmartCallHome_ServerCA
 certificate ca 6ecc7aa5a7032009b8cebcf4e952d491
    308205ec 308204d4 a0030201 0202106e cc7aa5a7 032009b8 cebcf4e9 52d49130 
    0d06092a 864886f7 0d010105 05003081 ca310b30 09060355 04061302 55533117 
    30150603 55040a13 0e566572 69536967 6e2c2049 6e632e31 1f301d06 0355040b 
    13165665 72695369 676e2054 72757374 204e6574 776f726b 313a3038 06035504 
    0b133128 63292032 30303620 56657269 5369676e 2c20496e 632e202d 20466f72 
    20617574 686f7269 7a656420 75736520 6f6e6c79 31453043 06035504 03133c56 
    65726953 69676e20 436c6173 73203320 5075626c 69632050 72696d61 72792043 
    65727469 66696361 74696f6e 20417574 686f7269 7479202d 20473530 1e170d31 
    30303230 38303030 3030305a 170d3230 30323037 32333539 35395a30 81b5310b 
    30090603 55040613 02555331 17301506 0355040a 130e5665 72695369 676e2c20 
    496e632e 311f301d 06035504 0b131656 65726953 69676e20 54727573 74204e65 
    74776f72 6b313b30 39060355 040b1332 5465726d 73206f66 20757365 20617420 
    68747470 733a2f2f 7777772e 76657269 7369676e 2e636f6d 2f727061 20286329 
    3130312f 302d0603 55040313 26566572 69536967 6e20436c 61737320 33205365 
    63757265 20536572 76657220 4341202d 20473330 82012230 0d06092a 864886f7 
    0d010101 05000382 010f0030 82010a02 82010100 b187841f c20c45f5 bcab2597 
    a7ada23e 9cbaf6c1 39b88bca c2ac56c6 e5bb658e 444f4dce 6fed094a d4af4e10 
    9c688b2e 957b899b 13cae234 34c1f35b f3497b62 83488174 d188786c 0253f9bc 
    7f432657 5833833b 330a17b0 d04e9124 ad867d64 12dc744a 34a11d0a ea961d0b 
    15fca34b 3bce6388 d0f82d0c 948610ca b69a3dca eb379c00 48358629 5078e845 
    63cd1941 4ff595ec 7b98d4c4 71b350be 28b38fa0 b9539cf5 ca2c23a9 fd1406e8 
    18b49ae8 3c6e81fd e4cd3536 b351d369 ec12ba56 6e6f9b57 c58b14e7 0ec79ced 
    4a546ac9 4dc5bf11 b1ae1c67 81cb4455 33997f24 9b3f5345 7f861af3 3cfa6d7f 
    81f5b84a d3f58537 1cb5a6d0 09e4187b 384efa0f 02030100 01a38201 df308201 
    db303406 082b0601 05050701 01042830 26302406 082b0601 05050730 01861868 
    7474703a 2f2f6f63 73702e76 65726973 69676e2e 636f6d30 12060355 1d130101 
    ff040830 060101ff 02010030 70060355 1d200469 30673065 060b6086 480186f8 
    45010717 03305630 2806082b 06010505 07020116 1c687474 70733a2f 2f777777 
    2e766572 69736967 6e2e636f 6d2f6370 73302a06 082b0601 05050702 02301e1a 
    1c687474 70733a2f 2f777777 2e766572 69736967 6e2e636f 6d2f7270 61303406 
    03551d1f 042d302b 3029a027 a0258623 68747470 3a2f2f63 726c2e76 65726973 
    69676e2e 636f6d2f 70636133 2d67352e 63726c30 0e060355 1d0f0101 ff040403 
    02010630 6d06082b 06010505 07010c04 61305fa1 5da05b30 59305730 55160969 
    6d616765 2f676966 3021301f 30070605 2b0e0302 1a04148f e5d31a86 ac8d8e6b 
    c3cf806a d448182c 7b192e30 25162368 7474703a 2f2f6c6f 676f2e76 65726973 
    69676e2e 636f6d2f 76736c6f 676f2e67 69663028 0603551d 11042130 1fa41d30 
    1b311930 17060355 04031310 56657269 5369676e 4d504b49 2d322d36 301d0603 
    551d0e04 1604140d 445c1653 44c1827e 1d20ab25 f40163d8 be79a530 1f060355 
    1d230418 30168014 7fd365a7 c2ddecbb f03009f3 4339fa02 af333133 300d0609 
    2a864886 f70d0101 05050003 82010100 0c8324ef ddc30cd9 589cfe36 b6eb8a80 
    4bd1a3f7 9df3cc53 ef829ea3 a1e697c1 589d756c e01d1b4c fad1c12d 05c0ea6e 
    b2227055 d9203340 3307c265 83fa8f43 379bea0e 9a6c70ee f69c803b d937f47a 
    6decd018 7d494aca 99c71928 a2bed877 24f78526 866d8705 404167d1 273aeddc 
    481d22cd 0b0b8bbc f4b17bfd b499a8e9 762ae11a 2d876e74 d388dd1e 22c6df16 
    b62b8214 0a945cf2 50ecafce ff62370d ad65d306 4153ed02 14c8b558 28a1ace0 
    5becb37f 954afb03 c8ad26db e6667812 4ad99f42 fbe198e6 42839b8f 8f6724e8 
    6119b5dd cdb50b26 058ec36e c4c875b8 46cfe218 065ea9ae a8819a47 16de0c28 
    6c2527b9 deb78458 c61f381e a4c4cb66
  quit
crypto isakmp enable outside
crypto isakmp policy 10
 authentication crack
 encryption aes-256
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 20
 authentication rsa-sig
 encryption aes-256
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 30
 authentication pre-share
 encryption aes-256
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 40
 authentication crack
 encryption aes-192
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 50
 authentication rsa-sig
 encryption aes-192
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 60
 authentication pre-share
 encryption aes-192
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 70
 authentication crack
 encryption aes
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 80
 authentication rsa-sig
 encryption aes
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 90
 authentication pre-share
 encryption aes
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 100
 authentication crack
 encryption 3des
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 110
 authentication rsa-sig
 encryption 3des
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 120
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 130
 authentication crack
 encryption des
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 140
 authentication rsa-sig
 encryption des
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 150
 authentication pre-share
 encryption des
 hash sha
 group 2
 lifetime 86400
crypto isakmp ipsec-over-tcp port 10000 
telnet timeout 5
ssh timeout 5
console timeout 0
management-access management
dhcpd dns 200.124.224.195 200.124.224.196
dhcpd domain acurioasociados.com
dhcpd option 3 ip 192.168.1.208
!
dhcpd address 192.168.4.2-192.168.4.254 management
dhcpd enable management
!
threat-detection basic-threat
threat-detection statistics access-list
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
webvpn
group-policy DfltGrpPolicy attributes
 vpn-filter value VPN_FILTER
 vpn-tunnel-protocol IPSec l2tp-ipsec 
tunnel-group 190.90.138.134 type ipsec-l2l
tunnel-group 190.90.138.134 ipsec-attributes
 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 
call-home reporting anonymous
Cryptochecksum:9b1607de2d38dc8277b644af301a9802
: end
no asdm history enable

Hi,

Some odd things I noticed in the configurations

ASA 190.90.138.134

  • Configuration under Tunnel-group

          tunnel-group 200.124.230.182 ipsec-attributes

           pre-shared-key *****

           peer-id-validate cert

ASA 200.124.230.182

  • Interface "inside" security-level is 0
    • Although this doesnt matter as you have the same-security-traffic configurations and ACLs

In general I dont see problem with the VPN configurations.

Is the L2L VPN going up after you made the new configurations? Is the problem just passing traffic on the VPN?

Are you SURE that both sites LAN hosts are configured with the correct LAN gateway IP which would be

ASA 190.90.138.134

  • LAN Gateway 192.168.3.10

ASA 200.124.230.182

  • LAN Gateway 192.168.1.208

I just ask as the configured interface IP addresses are pretty uncommon (atleast to my eye)

Since there is nothing really special with the current configurations I would like to see some ASDM logs of the connection attempts through the L2L VPN. I fear that we wont get anywhere with solving this problems as long I dont see what you are trying to do.

I for example have no idea at the moment if the connections are going through the tunnel to the other site and simply not getting an answer. It would be good to monitor both ASAs logs when attempting the connection through the L2L VPN so you could pinpoint where the traffic stops.

- Jouni

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: