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!

ASA Site to Site VPN with ASA Problem

Status
Not open for further replies.
Jul 30, 2009
36
US
Hi guys, I'm still new to the configuration for the ASA. I tried setting up the VPN but am stumped. Please help me, I am trying to get a VPN going as soon as possible, my config for both ASA's are here, please let me know what is wrong and what to do, thank you in advance:
ASA 1
!
hostname
enable password ZBU5tT8/6Cuyn5My encrypted
passwd ZBU5tT8/6Cuyn5My encrypted
no names
name 10.0.100.0 VPNPOOL
!
interface Vlan1
description TO_SWITCH
nameif inside
security-level 100
ip address 10.0.0.5 255.255.255.0
!
interface Vlan2
description TO_ROUTER
nameif outside
security-level 0
ip address 151.199.191.81 255.255.255.0
!
interface Ethernet0/0
description TO_ROUTER
switchport access vlan 2
speed 10
duplex full
!
interface Ethernet0/1
description TO_SWITCH
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
access-list OUTSIDE-ACCESS-IN extended deny tcp host 75.150.80.105 interface outside eq smtp log debugging
access-list OUTSIDE-ACCESS-IN extended permit tcp any interface outside eq smtp log debugging
access-list OUTSIDE-ACCESS-IN extended permit tcp any interface outside eq https
access-list OUTSIDE-ACCESS-IN extended permit tcp any interface outside eq 3389
access-list OUTSIDE-ACCESS-IN extended permit tcp any interface outside eq www
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 10.254.254.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip host 10.0.0.0 host 151.199.191.123
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 host 151.199.191.123
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 host 151.199.191.81
access-list SPLIT-TUN-NW-LIST standard permit 10.0.0.0 255.255.0.0
access-list IN-2-OUT extended permit tcp host 10.0.0.8 any eq smtp log
access-list IN-2-OUT extended permit tcp host 10.0.0.8 eq smtp any log
access-list IN-2-OUT extended deny tcp any any eq smtp log
access-list IN-2-OUT extended deny tcp any eq smtp any log
access-list IN-2-OUT extended permit ip any any
access-list outside_1_cryptomap extended permit ip 10.0.0.0 255.255.255.0 host 151.199.191.81
pager lines 24
logging enable
logging buffer-size 30000
logging buffered debugging
logging asdm informational
logging flash-bufferwrap
mtu inside 1500
mtu outside 1500
ip local pool VPNPOOL 10.254.254.100-10.254.254.150 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
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
static (inside,outside) tcp interface smtp 10.0.0.8 smtp netmask 255.255.255.255
static (inside,outside) tcp interface https 10.0.0.60 https netmask 255.255.255.255
static (inside,outside) tcp interface 255.255.255.255
access-group IN-2-OUT in interface inside
access-group OUTSIDE-ACCESS-IN in interface outside
route outside 0.0.0.0 0.0.0.0 216.12.10.9 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
aaa authentication ssh console LOCAL
aaa authentication telnet console LOCAL
aaa authentication http console LOCAL
aaa authentication enable console LOCAL
aaa authorization command LOCAL
http server enable
http 10.0.0.0 255.255.255.0 inside
http 66.207.69.0 255.255.255.224 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set TRANSFORM-1 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 dynamic-map DYNMAP 1 set transform-set TRANSFORM-1
crypto dynamic-map DYNMAP 1 set reverse-route
crypto map CLIENTMAP 1 match address outside_1_cryptomap
crypto map CLIENTMAP 1 set pfs group1
crypto map CLIENTMAP 1 set peer 151.199.191.123
crypto map CLIENTMAP 1 set transform-set ESP-3DES-SHA
crypto map CLIENTMAP 10 ipsec-isakmp dynamic DYNMAP
crypto map CLIENTMAP interface outside
crypto isakmp enable outside
crypto isakmp policy 5
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet 10.0.0.0 255.255.255.0 inside
telnet timeout 15
ssh 10.0.0.0 255.255.255.0 inside
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 30
console timeout 15
dhcpd auto_config outside
!

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
enable outside
svc image disk0:/anyconnect-win-2.3.0254-k9.pkg 1
svc enable
group-policy SSLGROUPPOL internal
group-policy SSLGROUPPOL attributes
vpn-tunnel-protocol svc webvpn
group-policy VPNCLIENT internal
group-policy VPNCLIENT attributes
split-tunnel-policy tunnelspecified
split-tunnel-network-list value SPLIT-TUN-NW-LIST
username admin password 4q9CV.7crd4WX2DC encrypted privilege 15
username glenn password gKAkkf4UbCPKuvrQ encrypted privilege 0
username glenn attributes
vpn-group-policy SSLGROUPPOL
username alitech password w7ca/aifUZXjFdYA encrypted privilege 15
tunnel-group DefaultRAGroup general-attributes
address-pool (inside) VPNPOOL
tunnel-group DefaultWEBVPNGroup general-attributes
address-pool (inside) VPNPOOL
tunnel-group RiversEdgeVPN type remote-access
tunnel-group RiversEdgeVPN general-attributes
address-pool (inside) VPNPOOL
address-pool VPNPOOL
default-group-policy SSLGROUPPOL
tunnel-group RIVERSEDGEVPN type remote-access
tunnel-group RIVERSEDGEVPN general-attributes
address-pool (inside) VPNPOOL
address-pool VPNPOOL
default-group-policy SSLGROUPPOL
tunnel-group VPNCLIENT type remote-access
tunnel-group VPNCLIENT general-attributes
address-pool VPNPOOL
default-group-policy VPNCLIENT
tunnel-group VPNCLIENT ipsec-attributes
pre-shared-key *
tunnel-group 151.199.191.123 type ipsec-l2l
tunnel-group 151.199.191.123 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:a8e6b1a4da14826898d43343182cfad0
: end




ASA 2
hostname
domain-name
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 10.0.1.1 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 151.199.191.123 255.255.255.0
!
interface Ethernet0/0
switchport access vlan 2
speed 10
duplex full
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
dns server-group DefaultDNS
domain-name
access-list outside_1_cryptomap extended permit ip 10.0.1.0 255.255.255.0 host 1
51.199.191.81
access-list inside_nat0_outbound extended permit ip 10.0.1.0 255.255.255.0 host
151.199.191.81
pager lines 24
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 10.0.1.0 255.255.255.0
route outside 0.0.0.0 0.0.0.0 151.199.191.1 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
http server enable
http 10.0.1.4 255.255.255.255 inside
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 map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs group1
crypto map outside_map 1 set peer 151.199.191.81
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
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 10.0.1.10-10.0.1.25 inside
dhcpd dns 71.252.0.12 71.242.10.12 interface inside
dhcpd enable inside
!

tunnel-group 151.199.191.81 type ipsec-l2l
tunnel-group 151.199.191.81 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 netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:61904b469da7941bf673a54b9c07b098
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
dns server-group DefaultDNS
domain-name riversedge
access-list OUTSIDE-ACCESS-IN extended deny tcp host 75.150.80.105 interface out
side eq smtp log debugging
access-list OUTSIDE-ACCESS-IN extended permit tcp any interface outside eq smtp
log debugging
access-list OUTSIDE-ACCESS-IN extended permit tcp any interface outside eq https

access-list OUTSIDE-ACCESS-IN extended permit tcp any interface outside eq 3389

access-list OUTSIDE-ACCESS-IN extended permit tcp any interface outside eq www
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 10.25
4.254.0 255.255.255.0
access-list SPLIT-TUN-NW-LIST standard permit 10.0.0.0 255.255.0.0
access-list IN-2-OUT extended permit tcp host 10.0.0.8 any eq smtp log
access-list IN-2-OUT extended permit tcp host 10.0.0.8 eq smtp any log
access-list IN-2-OUT extended deny tcp any any eq smtp log
access-list IN-2-OUT extended deny tcp any eq smtp any log
access-list IN-2-OUT extended permit ip any any
access-list 100 extended permit ip host 10.0.0.1 host 10.0.1.1
pager lines 24
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
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
static (inside,outside) tcp interface smtp 10.0.0.8 smtp netmask 255.255.255.255

static (inside,outside) tcp interface https 10.0.0.60 https netmask 255.255.255.
255
static (inside,outside) tcp interface 255.255.255.255
access-group IN-2-OUT in interface inside
access-group OUTSIDE-ACCESS-IN in interface outside
route outside 0.0.0.0 0.0.0.0 208.57.131.1 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
http server enable
http 10.0.0.4 255.255.255.255 inside
http 10.0.0.0 255.255.255.0 inside
http 66.207.69.0 255.255.255.224 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ts2 esp-des esp-md5-hmac
crypto map imap 10 match address 100
crypto map imap 10 set peer 10.0.1.1
crypto map imap 10 set transform-set ts2
crypto map imap interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption des
hash md5
group 2
lifetime 86400
telnet 10.0.0.0 255.255.255.0 inside
telnet timeout 15
ssh 10.0.0.0 255.255.255.0 inside
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 30
console timeout 15
dhcpd auto_config outside
!

tunnel-group 10.0.1.1 type ipsec-l2l
tunnel-group 10.0.1.1 ipsec-attributes
pre-shared-key *
!
!
prompt hostname context
Cryptochecksum:8a1b129473fddf14288f09eb9707813a
 
ASA1 delete all these -
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 10.254.254.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip host 10.0.0.0 host 151.199.191.123
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 host 151.199.191.123
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 host 151.199.191.81
access-list SPLIT-TUN-NW-LIST standard permit 10.0.0.0 255.255.0.0
access-list IN-2-OUT extended deny tcp any eq smtp any log
access-list outside_1_cryptomap extended permit ip 10.0.0.0 255.255.255.0 host 151.199.191.81

add this -
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 10.254.254.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 10.0.0.0 255.255.255.0 10.0.1.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 10.0.0.0 255.255.255.0 10.0.1.0 255.255.255.0

ASA2 delete these -
access-list outside_1_cryptomap extended permit ip 10.0.1.0 255.255.255.0 host 1
51.199.191.81
access-list inside_nat0_outbound extended permit ip 10.0.1.0 255.255.255.0 host
151.199.191.81
access-list SPLIT-TUN-NW-LIST standard permit 10.0.0.0 255.255.0.0

add these
access-list inside_nat0_outbound extended permit ip 10.0.1.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 10.0.1.0 255.255.255.0 10.0.0.0 255.255.255.0

Read these -
L2L -
Add RA -

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
I tried what you suggested and it still hasn't worked. Is there something I'm missing? Should I set the peer to 151.199.191.81?
 
The peer is the public op of the remote ASA. Post your new configs and read those docs. They go step by step and explain it.

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top