博威---云架构决胜云计算

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2325|回复: 0

remote vpn (asa5505) 实验

[复制链接]
发表于 2009-1-31 07:06:50 | 显示全部楼层 |阅读模式
remote vpn (asa5505) 实验


ciscoasa(config)# sh run
: Saved
:
ASA Version 7.2(4)
!
hostname ciscoasa
enable password zxee0HDVY652dfwX encrypted
passwd zxee0HDVY652dfwX encrypted
names
!
interface Vlan2
no forward interface Vlan4
nameif management
security-level 100
ip address 192.168.4.209 255.255.255.0
!
interface Vlan3
nameif outside
security-level 0
ip address 10.0.3.9 255.255.255.0
!
interface Vlan4
nameif inside
security-level 100
ip address 10.0.4.9 255.255.255.0
!
interface Ethernet0/0
switchport access vlan 3
!
interface Ethernet0/1
switchport access vlan 4
!
interface Ethernet0/2
switchport access vlan 2
!
interface Ethernet0/3
!
interface Ethernet0/4
shutdown
!
interface Ethernet0/5
shutdown
!
interface Ethernet0/6
shutdown
!
interface Ethernet0/7
shutdown
!
ftp mode passive
access-list out extended permit icmp any any
access-list split-t extended permit ip 10.0.4.0 255.255.255.0 any
pager lines 24
logging enable
logging timestamp
logging trap informational
logging host management 192.168.4.114
mtu management 1500
mtu outside 1500
mtu inside 1500
ip local pool cisco 10.0.4.150-10.0.4.155
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
no asdm history enable
arp timeout 14400
access-group out in interface outside
route outside 10.0.5.0 255.255.255.0 10.0.3.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
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set cisco esp-des esp-md5-hmac
crypto dynamic-map cisco 10 set transform-set cisco
crypto map cisco 10 ipsec-isakmp dynamic cisco
crypto map cisco interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption des
hash md5
group 2
lifetime 86400
telnet 192.168.4.0 255.255.255.0 management
telnet timeout 1440
ssh timeout 5
console timeout 0
group-policy split internal
group-policy split attributes
split-tunnel-policy tunnelspecified
split-tunnel-network-list value split-t
username cisco password 3USUcOPFUiMCO4Jk encrypted
username cisco attributes
vpn-group-policy split
tunnel-group securitygroup type ipsec-ra
tunnel-group securitygroup general-attributes
address-pool cisco
tunnel-group securitygroup 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:f8c2506b4fac28bb42069f1897f3b842
: end

还算顺利,就是vpnclient 5.0的isa协商需要
crypto isakmp policy 10
authentication pre-share
encryption des
hash md5
group 2
开始设置的不一致,也没发现在vpnclient上怎么设,用debug cry isa报了一堆错
ciscoasa(config)# Jan 30 12:58:57 [IKEv1]: Group = securitygroup, IP = 10.0.5.100, Removing peer from peer table failed, no match!
Jan 30 12:58:57 [IKEv1]: Group = securitygroup, IP = 10.0.5.100, Error: Unable to remove PeerTblEntry
Jan 30 12:59:02 [IKEv1]: Group = securitygroup, IP = 10.0.5.100, Removing peer from peer table failed, no match!
Jan 30 12:59:02 [IKEv1]: Group = securitygroup, IP = 10.0.5.100, Error: Unable to remove PeerTblEntry
Jan 30 12:59:07 [IKEv1]: Group = securitygroup, IP = 10.0.5.100, Removing peer from peer table failed, no match!
Jan 30 12:59:07 [IKEv1]: Group = securitygroup, IP = 10.0.5.100, Error: Unable to remove PeerTblEntry
Jan 30 12:59:12 [IKEv1]: Group = securitygroup, IP = 10.0.5.100, Removing peer from peer table failed, no match!
Jan 30 12:59:12 [IKEv1]: Group = securitygroup, IP = 10.0.5.100, Error: Unable to remove PeerTblEntry
拓扑很简单
pc (10.0.5.0)  -------- R1  ---------- (10.0.3.0)  ASA (10.0.4.0)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|boway Inc. ( 冀ICP备10011147号 )

GMT+8, 2024-11-24 05:32 , Processed in 0.931979 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表