Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

l2l with static to dynamic

Status
Not open for further replies.

ATechman

MIS
Sep 16, 2010
5
Hi. i cant get this to work, im trying to add another dynamic vpn to connect another site but nothing is working.
can some one please give me a helping hand? the error is in the dynamic map and crypto maps sence i allready have a dynamic map for the vpn client.
this is my conf.

: Saved
:
ASA Version 8.2(1)
!
hostname ciscoasa
domain-name *.local
enable password ****** encrypted
passwd ********* encrypted
names
name 10.140.7.0 snack
name 192.168.50.0 Erik
name 10.140.8.0 Silv
!
interface GigabitEthernet0/0
nameif Outside
security-level 0
ip address 1.2.3.4 255.255.255.252
!
interface GigabitEthernet0/1
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
nameif Inside
security-level 100
ip address 10.140.1.1 255.255.255.0
!
interface Management0/0
nameif management
security-level 100
ip address 192.168.100.1 255.255.255.0
management-only
!
ftp mode passive
dns server-group DefaultDNS
domain-name inspira.local
access-list Outside_access_in extended permit icmp any any echo-reply
access-list Outside_access_in extended permit icmp any any source-quench
access-list Outside_access_in extended permit icmp any any unreachable
access-list Outside_access_in extended permit icmp any any time-exceeded
access-list Outside_access_in extended permit tcp any host 1.2.3.1 eq smtp
access-list Outside_access_in extended permit tcp any host 1.2.3.1 eq https
access-list Outside_access_in extended permit tcp any host 1.2.3.1 eq www
access-list Outside_access_in extended permit tcp any host 1.2.3.1 eq pop3
access-list Outside_access_in extended permit tcp any host 1.2.3.1 eq 3389
access-list Outside_access_in extended permit tcp any host 1.2.3.4 eq 3389
access-list Split_Tunnel_List_ACL remark ****** NAT Access List ******
access-list Split_Tunnel_List_ACL remark ****** Split Tunnel Encrypted Traffic ******
access-list Split_Tunnel_List_ACL standard permit 10.140.1.0 255.255.255.0
access-list inside_nat0_outside extended permit ip any 10.10.10.0 255.255.255.0
access-list inside_nat0_outside extended permit ip 10.140.1.0 255.255.255.0 Erik 255.255.255.0
access-list inside_nat0_outside extended permit ip 10.140.1.0 255.255.255.0 snack 255.255.255.0
access-list inside_nat0_outside extended permit ip 10.140.1.0 255.255.255.0 Silv 255.255.255.0
access-list Outside_1_cryptomap extended permit ip 10.140.1.0 255.255.255.0 Erik 255.255.255.0
access-list Outside_2_cryptomap extended permit ip 10.140.1.0 255.255.255.0 snack 255.255.255.0
access-list management_1_cryptomap extended permit ip 10.140.1.0 255.255.255.0 snack 255.255.255.0
access-list Outside_3_cryptomap extended permit ip 10.140.1.0 255.255.255.0 Silv 255.255.255.0
pager lines 24
logging enable
logging asdm debugging
mtu Outside 1500
mtu Inside 1500
mtu management 1500
ip local pool vpnclientpool 10.0.0.100-10.0.0.200 mask 255.255.255.0
ip local pool mypool 10.10.10.100-10.10.10.200 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
nat-control
global (Outside) 1 interface
nat (Inside) 0 access-list inside_nat0_outside
nat (Inside) 1 10.140.1.0 255.255.255.0
nat (Inside) 1 0.0.0.0 0.0.0.0
static (Inside,Outside) tcp 1.2.3.1 smtp 10.140.1.6 smtp netmask 255.255.255.255
static (Inside,Outside) tcp 1.2.3.1 255.255.255.255
static (Inside,Outside) tcp interface 3389 10.140.1.5 3389 netmask 255.255.255.255
static (Inside,Outside) 1.2.3.1 10.140.1.6 netmask 255.255.255.255 dns
access-group Outside_access_in in interface Outside
route Outside 0.0.0.0 0.0.0.0 1.2.3.0 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
dynamic-access-policy-record DfltAccessPolicy
webvpn
url-list value Gemensam
aaa-server ldap_web_Vpn protocol ldap
aaa-server ldap_web_Vpn (Inside) host 10.140.1.10
ldap-base-dn ou=Web VPN Users, ou=*, dc=*, dc=local
ldap-naming-attribute sAMAccountName
ldap-login-password *
ldap-login-dn cn=administrator, cn=users, dc=*, dc=local
server-type microsoft
aaa-server Web-Vpn protocol radius
aaa-server Web-Vpn (Inside) host 10.140.1.10
key * radius-common-pw *aaa authentication telnet console LOCAL
http server enable
http 192.168.100.0 255.255.255.0 management
http 10.140.1.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-AES-256-MD5 esp-aes-256 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-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 vpnclientset esp-3des 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 ipsec df-bit clear-df Outside
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 clientdynmap 12 set pfs
crypto dynamic-map clientdynmap 12 set transform-set vpnclientset
crypto dynamic-map clientdynmap 12 set security-association lifetime seconds 86400
crypto dynamic-map clientdynmap 12 set 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 81.216.*.*
crypto map Outside_map 1 set transform-set ESP-3DES-SHA
crypto map Outside_map 2 match address Outside_2_cryptomap
crypto map Outside_map 2 set pfs group1
crypto map Outside_map 2 set peer 81.*.*
crypto map Outside_map 2 set transform-set ESP-3DES-SHA
crypto map Outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map Outside_map interface Outside
crypto map clientmap 65535 ipsec-isakmp dynamic clientdynmap
crypto map management_map 1 match address management_1_cryptomap
crypto map management_map 1 set pfs group1
crypto map management_map 1 set peer 81.*.*
crypto map management_map 1 set transform-set ESP-3DES-SHA
crypto map management_map interface management
crypto isakmp identity address
crypto isakmp enable Outside
crypto isakmp enable management
crypto isakmp policy 12
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
crypto isakmp policy 32
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet 10.140.1.0 255.255.255.0 Inside
telnet 192.168.100.0 255.255.255.0 management
telnet timeout 5
ssh timeout 5
console timeout 0
management-access Inside
dhcpd dns 195.58.112.157 195.58.103.21 interface Inside
!
dhcpd address 192.168.100.2-192.168.100.254 management
dhcpd enable management
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
enable Outside
group-policy DfltGrpPolicy attributes
vpn-tunnel-protocol IPSec l2tp-ipsec svc webvpn
group-policy vpnclientgroup internal
group-policy vpnclientgroup attributes
dns-server value 10.140.1.10
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value Split_Tunnel_List_ACL
default-domain value *.local
username * password * encrypted privilege 15
tunnel-group DefaultWEBVPNGroup general-attributes
authentication-server-group Web-Vpn
tunnel-group vpnclientgroup type remote-access
tunnel-group vpnclientgroup general-attributes
address-pool mypool
authentication-server-group Web-Vpn
default-group-policy vpnclientgroup
tunnel-group vpnclientgroup ipsec-attributes
pre-shared-key *
tunnel-group 81.216.*.* type ipsec-l2l
tunnel-group 81.216.*.* ipsec-attributes
pre-shared-key *
tunnel-group 81.170.*.* type ipsec-l2l
tunnel-group 81.170.*.* 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
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:*
: end
asdm location Erik 255.255.255.0 Inside
asdm location snack 255.255.255.0 Inside
asdm location Silv 255.255.255.0 Inside
no asdm history enable


and this is wath im trying to add.

access-list inside_nat0_outside extended permit ip 10.140.1.0 255.255.255.0 Silv 255.255.255.0
!
access-list Outside_3_cryptomap extended permit ip 10.140.1.0 255.255.255.0 Silv 255.255.255.0
!
nat-control
global (Outside) 1 interface
nat (Inside) 0 access-list inside_nat0_outside
nat (Inside) 1 10.140.1.0 255.255.255.0
nat (Inside) 1 0.0.0.0 0.0.0.0
!
sysopt connection permit-ipsec
!
crypto isakmp enable Outside
crypto isakmp identity address
crypto isakmp policy 10 hash sha
crypto isakmp policy 10 authentication pre-share
crypto isakmp policy 10 encryption 3des
crypto isakmp policy 10 group 2
crypto isakmp policy 10 lifetime 8

crypto ipsec transform-set site-vpn esp-des esp-md5-hmac
crypto ipsec df-bit clear-df Outsid
!
crypto dynamic-map clientdynmap 13 set transform-set site-vpn
crypto dynamic-map clientdynmap 13 match address Outside_3_cryptomap
crypto dynamic-map clientdynmap 13 set security-association lifetime seconds 28800
crypto dynamic-map clientdynmap 13 set security-association lifetime kilobytes 4608000
crypto dynamic-map clientdynmap 13 set reverse-route


Thanks. Erik
 
Can you please condense this to include only the crypto map / tunnel group / ACL's for said crypto map of the problem VPN connection?

Chris Clancy, EnCE CCE

MCITP: Enterprise Messaging
MCITP: Server Administrator

" ... when you can't figure out what the problem is, find out what it isn't.... "

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top