Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

VPN between ASA and router

Hello,

I had a working vpn configuration between a local and a remote router; the remote router is not under my administration.

Now I moved the vpn termination from my side to an ASA5540 software version 8.0(3). The tunnel is up but there is no reachability. The "show crypto ipsec sa" on the ASA shows encapsulated packets but NO decapsulated packets! Routing and no_nat are properly configured.

Any idea?

Many thanks.

28 REPLIES
joe Bronze
Bronze

Re: VPN between ASA and router

without seeing the other side, i suspect a routing issue there.

does "not under my administration" mean no one there can get on the phone and work the issue with you?

Thanks,

Joe

New Member

Re: VPN between ASA and router

Hi Joe,

They didn't change anything from there side! It was fully working exactly before I've migrated to the ASA!

joe Bronze
Bronze

Re: VPN between ASA and router

Have you used the packet tracer feature in the ASDM?

I would run a packet from source to destination using your adsm and see if it is fully going out as planned.

I suspect a stale xlate on the firewall, perhaps the other side that didnt change is hearing a different source that it wants?

Another option to consider is since the other side is using IOS (right?) they may be using GRE/IPSEC of some type and need to re-config to work with the ASA.

-Joe

New Member

Re: VPN between ASA and router

I've attached the old router configuration.

Using the packet tracer:

inside-outside -> everything is fine

outside-inside -> ipsec-spoof detected! it's a normal behavior right?

joe Bronze
Bronze

Re: VPN between ASA and router

on the asa do you have the command...

sysop connection permit-ipsec

?

New Member

Re: VPN between ASA and router

yeah: sysopt connection permit-vpn ( there is no permit-ipsec)

Re: VPN between ASA and router

For traffic that enters the security appliance through a VPN tunnel and is then decrypted, the sysopt connection permit-vpn command in global configuration mode to allow the traffic to bypass interface access lists.

can you do some debug on the ASA.

debug crypto ipsec and debug crypto isakmp and send us the output

francisco

Re: VPN between ASA and router

try "no crypto isakmp nat-traversal"

francisco

New Member

Re: VPN between ASA and router

I've configured no crypto isakmp nat-traversal and still no packets are received on the outside. the debug crypto log is attached!

Re: VPN between ASA and router

try from global"clear crypto ipsec sa" and "clear xlate". Also get them to do the same on the other side.

do a continous ping to the other side

joe Bronze
Bronze

Re: VPN between ASA and router

going back over the notes your provided;

see the issue now?

DE-DC-INT-FW01# show crypto ipsec sa

Crypto map tag: IPSec-VPN, seq num: 40, local addr: 213.184.187.98

and now...

interface GigabitEthernet0/1

description $ES_WAN$$FW_OUTSIDE$

bandwidth 1000

ip address 213.184.187.98 255.255.255.240

ip access-group 101 in

ip verify unicast reverse-path

no ip redirects

no ip unreachables

no ip proxy-arp

ip virtual-reassembly

ip route-cache flow

ip tcp adjust-mss 1200

crypto map VPN

so, my question,

what is in front of the asa, and does it arp reach the ASA to get to 213.184.187.98?

where does the ASA has this addr config'd?

-Joe

New Member

Re: VPN between ASA and router

the 213.184.187.98 was the ip address of the outside interface of the router, now the router is removed and the same ip is configured on the outside interface of the ASA.

Re: VPN between ASA and router

I noticed you dont have crypto isakmp enable [Inside Interface]

New Member

Re: VPN between ASA and router

the vpn is terminated on the outside interface, so there is no need for isakmp on the inside, right?

Re: VPN between ASA and router

mmm yeah. i checked on my lab ASA 5520 on a working tunnel and i have it enable on the inside/outside as well.

New Member

Re: VPN between ASA and router

I have tunnels configured and the same interface and working perfectly

Re: VPN between ASA and router

you mean you have other tunnels active on the ASA?

joe Bronze
Bronze

Re: VPN between ASA and router

right, so the router is gone, but

what device is in front of the ASA?

What interface is the 213. address on? outside?

New Member

Re: VPN between ASA and router

yeah other tunnels are active! the 213 is the outside ip of the asa; the conncetion is like this now:

asa (public 213.184.187.98) -> sw (layer2)-> router (private IP with no security controls)->ISP

Re: VPN between ASA and router

joe's got a point here. according to the logs

DPD (Dead Peer Discovery).

IPSec has a mechanism for a peer to send a notification to its peer when it is deleting a SA. This notification is sent via IKE. However, there can be situations in which this notification never gets sent. A usual reason for this is that the peer goes dead too abruptly e.g. system crash, unplugging the Ethernet cable, etc. Due to such events, one peer could keep sending data to the dead peer and it results in data loss. For this, a Dead Peer Discovery (DPD) mechanism is used. Make sure nothing is blocking the ipsec traffic between your ASA/Router

New Member

Re: VPN between ASA and router

There's only a layer 2 switch between the router and the ASA and no security controls are configured on the router:(

joe Bronze
Bronze

Re: VPN between ASA and router

please re-enable nat-t, clear the tunnel and bring it back up by pinging to the crypto acl destination from the source.

please past your entire asa config (sanatized of course!)

Worse case, we can do a webex to get it solved.

-Joe

New Member

Re: VPN between ASA and router

re-enabled nat-t, and the partial interesting part of the config is attached, many thanks for your support!

joe Bronze
Bronze

Re: VPN between ASA and router

my next educated guess;

turn off nat-t on the ASA the other side may not support it, not have it configured or UDP 4500 may filtered somewhere in the path

no crypto isakmp nat-traversal

now clear ipsec sa on the sa, and continue testing... send interesting traffic to bring the tunnel back up

Re: VPN between ASA and router

Georges/Joseph, Is this sorted?

Please let me know

Francisco

New Member

Re: VPN between ASA and router

Guys,

It's resolved by editing the crypto/no_nat access-lists to match only host by host! It's really weird that it was not working with subnet to subnet access-list.

Re: VPN between ASA and router

interesting!

New Member

Re: VPN between ASA and router

Thanks for posting the solution.  Any future info on this?   jimmyc

281
Views
5
Helpful
28
Replies