08-09-2011 11:15 AM
im drawing a blank trying to setup a site to site connection with a 5505 ASA using ipsec and isakmp.
i have the pre shared key as well as the external address of the other end of the tunnel but do not remember what the commands are to setup the crypto map and isakmp.
Any help is greatly needed.
Thank you
shane
08-09-2011 11:22 AM
Hi Shane,
Since this question is to do with VPNs, i am moving this discussion to the VPN community. Here's a link that might help you out:
http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a0080950890.shtml
For a list of all ASA config examples, use this link:
http://www.cisco.com/en/US/products/ps6120/prod_configuration_examples_list.html
Also, take a look at the vpnsetup command on the ASA:
http://www.cisco.com/en/US/docs/security/asa/asa84/command/reference/uz.html#wp1557319
Regards,
Prapanch
08-09-2011 11:57 AM
i have followed the examples and i guess im still missing something, below is a show run of the ASA.
Thank you
Shane
Password:
Type help or '?' for a list of available commands.
ciscoasa> enable
Password: *******
ciscoasa# show run
: Saved
:
ASA Version 8.0(3)
!
hostname ciscoasa
enable password bGPREHRQgo.4VIvW encrypted
names
name 128.1.0.0 RMC description RMC Connection
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.52.254 255.255.255.0
!
interface Vlan2
description Itc Delta Com DSL connection
nameif outside
security-level 0
pppoe client vpdn group DSLPPPoE
ip address pppoe setroute
!
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
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
access-list 100 extended permit ip 192.168.52.0 255.255.255.0 RMC 255.255.0.0
access-list nonat extended permit ip 192.168.52.0 255.255.255.0 RMC 255.255.0.0
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
icmp permit any inside
asdm image disk0:/ASDM-603.BIN
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 0.0.0.0 0.0.0.0
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 uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.52.0 255.255.255.0 inside
http 128.1.40.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
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-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set myset esp-3des esp-sha-hmac
crypto map outside_map 20 match address 100
crypto map outside_map 20 set peer 12.195.138.34
crypto map outside_map 20 set transform-set myset
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 1
authentication pre-share
encryption des
hash md5
group 1
lifetime 86400
crypto isakmp policy 5
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
no crypto isakmp nat-traversal
telnet 192.168.52.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
vpdn group DSLPPPoE request dialout pppoe
vpdn group DSLPPPoE localname qlagiatr@itcdeltacom.net
vpdn group DSLPPPoE ppp authentication pap
vpdn username qlagiatr@itcdeltacom.net password *********
dhcpd auto_config outside
!
threat-detection basic-threat
threat-detection statistics access-list
tunnel-group 12.195.138.34 type ipsec-l2l
tunnel-group 12.195.138.34 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 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 icmp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:fcd29d39a4971745c4dbfec708df0516
: end
ciscoasa#
08-09-2011 01:20 PM
Hi Shane
the config on this end looks ok. Do you have the config of the other ASA as well?
Regards,
Prapanch
08-09-2011 01:44 PM
Removed
08-09-2011 01:52 PM
Hi,
On your ASA, try adding this line:
crypto map outside_map 20 set pfs group1
Regards,
Prapanch
08-09-2011 01:55 PM
Since the last post i took out everything from my config and typed in the same information as the remote asa reversing the ip address to match mine and the tunnel still does not start up.
08-09-2011 01:58 PM
Can i look at your configuration again? You can enable debug crypto isa 127and debug crypto ips 127 on your ASA and post those debugs here.
Cheers,
Prapanch
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide