博客首页 注册 建议与交流 排行榜 加入友情链接         宝宝相册的专门空间
推荐 投诉 搜索: 帮助

大萝卜的博客

   bu.cublog.cn
关于作者  
姓名:      大萝卜
职业:      听人说,技术支持是IT业最鸡肋的职业,于是我便开始郁闷起来!
个性签名:   我以为我们同属于/30,Ping出Timed out才明白处于不同的Vlan。我尝试着用爱做为Route,并用Traceroute来验证,可是Netstat的Syn_received结果让我无比伤心。于是我选择了deny any和deny ip any any,但是我心里一直期待着Vpn那天的到来,请将我放在你的Acl之内。
Mailto:bxz1981#gmail.com

我的分类  




IPSec site-PIX-site
Lab Target: Site-to-Site between R4 and R5 Lo0 over PIX

hostname r4

crypto isakmp policy 10
hash md5
authentication pre-share
group 2
crypto isakmp key cisco address 45.1.1.5
!
!
crypto ipsec transform-set test esp-aes esp-md5-hmac
!
crypto map test 10 ipsec-isakmp
set peer 45.1.1.5
set transform-set test
match address 100

interface Loopback0
ip address 10.1.1.1 255.255.255.0
!
interface Ethernet0/0
ip address 47.1.1.4 255.255.255.0
half-duplex
crypto map test

ip route 20.1.1.0 255.255.255.0 47.1.1.7
ip route 45.1.1.0 255.255.255.0 47.1.1.7
!

access-list 100 permit ip 10.1.1.0 0.0.0.255 20.1.1.0 0.0.0.255
!
----------------------------------------------
hostname r5

crypto isakmp policy 10
hash md5
authentication pre-share
group 2
crypto isakmp key cisco address 45.1.1.10
!
!
crypto ipsec transform-set test esp-aes esp-md5-hmac
!
crypto map test 1 ipsec-isakmp
set peer 45.1.1.10
set transform-set test
match address 100
!
!
!
!
interface Loopback0
ip address 20.1.1.1 255.255.255.0
!
interface Ethernet1/0
ip address 45.1.1.5 255.255.255.0
half-duplex
crypto map test

access-list 100 permit ip 20.1.1.0 0.0.0.255 10.1.1.0 0.0.0.255
------------------------------------------
hostname pix
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0
nameif outside
security-level 0
ip address 45.1.1.7 255.255.255.0
!
interface Ethernet1
nameif inside
security-level 100
ip address 47.1.1.7 255.255.255.0

passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
access-list test extended permit udp host 45.1.1.5 host 45.1.1.10 eq isakmp
access-list test extended permit esp host 45.1.1.5 host 45.1.1.10
access-list test extended permit udp host 45.1.1.5 host 45.1.1.10 eq 4500

static (inside,outside) 45.1.1.10 47.1.1.4 netmask 255.255.255.255
access-group test in interface outside
route outside 20.1.1.0 255.255.255.0 45.1.1.5 1
route inside 10.1.1.0 255.255.255.0 47.1.1.4 1

 发表于: 2006-12-07,修改于: 2007-03-07 09:29 已浏览1709次,有评论2条 推荐 投诉

  网友评论
  本站网友 时间:2006-12-11 17:48:17 IP地址:60.166.13.★

  本站网友 时间:2006-12-15 14:00:49 IP地址:60.166.15.★
顶!!


  发表评论



Copyright © 2001-2006 ChinaUnix.net All Rights Reserved

感谢所有关心和支持过ChinaUnix的朋友们
页面生成时间:4.90694

京ICP证041476号