频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

配置 IPSec - 路由器到PIX防火墙

来源:gotolab.com 作者: 出处:巧巧读书 2005-08-22 进入讨论组

  这个文档说明了在路由器和思科防火墙之间的IPSec配置。 在总部和分公司之间的流量使用的是私有IP地址,当分公司的局域网用户访问互联网时,需要进行地址转换
  网络拓扑
  
  具体配置如下:
  
  !--- 定义去路由器的流量:
  access-list ipsec permit ip 10.1.1.0 255.255.255.0 10.2.2.0 255.255.255.0
  !--- 去路由器的流量不做地址转换
  access-list nonat permit ip 10.1.1.0 255.255.255.0 10.2.2.0 255.255.255.0
  ip address outside 172.17.63.213 255.255.255.240
  ip address inside 10.1.1.1 255.255.255.0
  global (outside) 1 172.17.63.210
  !--- 去路由器的流量不做地址转换
  nat (inside) 0 access-list nonat
  nat (inside) 1 10.1.1.0 255.255.255.0 0 0
  conduit permit icmp any any
  route outside 0.0.0.0 0.0.0.0 172.17.63.209 1
  !--- IPSec 策略:
  sysopt connection permit-ipsec
  crypto ipsec transform-set avalanche esp-des esp-md5-hmac
  crypto ipsec security-association lifetime seconds 3600
  crypto map forsberg 21 ipsec-isakmp
  crypto map forsberg 21 match address ipsec
  crypto map forsberg 21 set peer 172.17.63.230
  crypto map forsberg 21 set transform-set avalanche
  crypto map forsberg interface outside
  
  !--- IKE 策略:
  isakmp enable outside
  isakmp key westernfinal2000 address 172.17.63.230 netmask 255.255.255.255
  isakmp identity address
  isakmp policy 21 authentication pre-share
  isakmp policy 21 encryption des
  isakmp policy 21 hash md5
  isakmp policy 21 group 1
  : end
  hostname Branch_Router
  !--- IKE策略:
  crypto isakmp policy 11
  hash md5
  authentication pre-share
  crypto isakmp key westernfinal2000 address 172.17.63.213
  !--- IPSec策略:
  crypto ipsec transform-set sharks esp-des esp-md5-hmac
  crypto map nolan 11 ipsec-isakmp
  set peer 172.17.63.213
  set transform-set sharks
  match address 120
  !
  interface Ethernet0
  ip address 172.17.63.230 255.255.255.240
  ip nat outside
  crypto map nolan
  !
  interface Ethernet1
  ip address 10.2.2.1 255.255.255.0
  ip nat inside
  !
  ip nat pool branch 172.17.63.230 172.17.63.230 netmask 255.255.255.240
  ip nat inside source route-map nonat pool branch overload
  ip route 0.0.0.0 0.0.0.0 172.17.63.225
  access-list 120 permit ip 10.2.2.0 0.0.0.255 10.1.1.0 0.0.0.255
  access-list 130 deny ip 10.2.2.0 0.0.0.255 10.1.1.0 0.0.0.255
  access-list 130 permit ip 10.2.2.0 0.0.0.255 any
  route-map nonat permit 10
  match ip address 130
  endURL:http://www.qqread.com/network-special/p511319118.html 更多文章 更多内容请看路由器设置专题交换机与路由器密码恢复路由故障处理手册专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
较早的文章:IPSec概述

较新的文章:VPN的基本概念及在PIX上的实现
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选