Делал все по мануалу
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/produc...Туннель просто не поднимается. два дня голову ломаю. Куда копать? :)
192.168.0.252(ASA5510)10.200.200.1/25---------------10.200.200.254(ASA5505)10.100.100.254конфмиги как есть
=====5510
: Saved
: Written by enable_15 at 04:31:17.879 UTC Thu Jun 18 2009
!
ASA Version 8.0(4)
!
hostname flip-co
enable password QWE8XFNnLve0SC4S encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
nameif internal
security-level 100
ip address 192.168.0.252 255.255.255.0
!
interface Ethernet0/1
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/3
nameif external
security-level 0
ip address 10.200.200.1 255.255.255.128
!
interface Management0/0
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
management-only
!
ftp mode passive
dns server-group DefaultDNS
access-list ext_net extended permit ip any any
access-list int_access_in extended permit ip any any
access-list ext_access_in extended permit ip any interface external
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 10.100.100.0 255.255.255.128
access-list outside_cryptomap_20 extended permit ip 192.168.0.0 255.255.255.0 10.100.100.0 255.255.255.128
pager lines 24
logging asdm informational
mtu internal 1500
mtu external 1500
mtu management 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-613.bin
no asdm history enable
arp timeout 14400
nat-control
global (external) 1 interface
nat (internal) 0 access-list inside_nat0_outbound
nat (internal) 1 192.168.0.0 255.255.255.0
access-group int_access_in in interface internal
access-group ext_access_in in interface external
route external 0.0.0.0 0.0.0.0 10.200.200.126 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
dynamic-access-policy-record DfltAccessPolicy
aaa authentication telnet console LOCAL
http server enable
http 192.168.1.0 255.255.255.0 management
http 192.168.0.41 255.255.255.255 internal
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map TOVORONEJ 1 set security-association lifetime seconds 28800
crypto map TOVORONEJ 1 set security-association lifetime kilobytes 4608000
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer 10.200.200.254
crypto map outside_map 20 set transform-set ESP-AES-256-SHA
crypto map outside_map 20 set security-association lifetime seconds 28800
crypto map outside_map 20 set security-association lifetime kilobytes 4608000
crypto map outside_map interface external
crypto isakmp enable external
crypto isakmp policy 10
authentication pre-share
encryption aes-256
hash sha
group 5
lifetime 86400
crypto isakmp policy 65535
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet 192.168.0.41 255.255.255.255 internal
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd enable management
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
username denis password uZH3uMbd.IE0iVxr encrypted privilege 15
tunnel-group 10.200.200.254 type ipsec-l2l
tunnel-group 10.200.200.254 ipsec-attributes
pre-shared-key flipflipflip
!
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:44cc86e407ceafe44edfe4594e68455d
: end
=====5505ASA Version 8.0(4)
!
hostname flip-vo
enable password QWE8XFNnLve0SC4S encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 10.100.100.254 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 10.200.200.254 255.255.255.128
!
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
!
ftp mode passive
object-group protocol L2L
protocol-object gre
protocol-object esp
access-list ext_net extended permit ip any any
access-list ext_net extended permit object-group L2L any any
access-list inside_nat0_outbond extended permit ip 10.100.100.0 255.255.255.
2.168.0.0 255.255.255.0
access-list outside_cryptomap_20 extended permit ip 10.100.100.0 255.255.255
92.168.0.0 255.255.255.0
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-613.bin
no asdm history enable
arp timeout 14400
nat-control
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbond
nat (inside) 1 10.100.100.0 255.255.255.0
access-group ext_net in interface outside
route outside 0.0.0.0 0.0.0.0 10.200.200.129 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:
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
aaa authentication telnet console LOCAL
http server enable
http 10.100.100.0 255.255.255.0 inside
http 192.168.1.0 255.255.255.0 inside
http 10.200.200.1 255.255.255.255 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer 10.200.200.1
crypto map outside_map 20 set transform-set ESP-AES-256-SHA
crypto map outside_map 20 set security-association lifetime seconds 28800
crypto map outside_map 20 set security-association lifetime kilobytes 460800
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption aes-256
hash sha
group 5
lifetime 86400
telnet 10.100.100.0 255.255.255.0 inside
telnet 10.200.200.1 255.255.255.255 outside
telnet 10.200.200.0 255.255.255.0 outside
telnet 10.200.200.254 255.255.255.255 outside
telnet 192.168.0.0 255.255.255.0 outside
telnet timeout 5
ssh timeout 5
console timeout 0threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
username denis password uZH3uMbd.IE0iVxr encrypted privilege 15
tunnel-group 10.200.200.1 type ipsec-l2l
tunnel-group 10.200.200.1 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:9be34e08702ab2b963afdb87dc8e9c34
: end
На 5505 в access-list'ах маска у 10.100.100.0 точно 255.255.255.128?
Можно посмотреть sh cry isa sa, sh cry ips sa
все заработало, завтра напишу в чем косяк был
>все заработало, завтра напишу в чем косяк былНеверное не было reverse route.
так как с vpn дел не имел, то думал что тунель должен сразу автоматом подниматься.
А оказалось тунель поднимается при первом запросе из 192.168.0.0 в 10.100.100.
пинганул удаленную локалку и поднялся.Только странно из удаленной сетки в мою почему то не работает, буду разбираться
>так как с vpn дел не имел, то думал что тунель
>Только странно из удаленной сетки в мою почему то не работает,
>буду разбиратьсяПроверь access-list outside_cryptomap_20
они у тебя отличаются.