Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 网络安全 > 安全知识 > pix ---cisco 26 做VPN
【标  题】:pix ---cisco 26 做VPN
【关键字】:pix,---cisco,26,VPN
【来  源】:http://blog.chinaunix.net/article.php?articleId=56899&blogId=3866

pix ---cisco 26 做VPN

Your Ad Here

pix ---cisco 26 做VPN,site--site

pix ---cisco 26 做VPN,site--site

PIX配置:

: Saved
:
PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
names
access-list 101 permit ip 172.16.10.0 255.255.255.0 10.1.1.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 192.168.1.2 255.255.255.0
ip address inside 172.16.10.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm history enable
arp timeout 14400
global (outside) 1 192.168.1.3-192.168.1.6 netmask 255.255.255.0
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
route outside 0.0.0.0 0.0.0.0 192.168.1.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set pix esp-des
crypto map boway 10 ipsec-isakmp
crypto map boway 10 match address 101
crypto map boway 10 set peer 192.168.10.2
crypto map boway 10 set transform-set pix
crypto map boway interface outside
isakmp enable outside
isakmp key ******** address 192.168.10.2 netmask 255.255.255.255
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 1
isakmp policy 10 lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:efc6e43eb422531d3b00bab8e29997ca  
: end

 

 

路由器配置:
Router#show run
Building configuration...

Current configuration : 1298 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
!
!
ip subnet-zero
!
!
!
!
crypto isakmp policy 1
 hash md5
 authentication pre-share
crypto isakmp key cisco address 192.168.1.2
!
crypto isakmp peer address 192.168.1.2
!
!
crypto ipsec transform-set todes esp-des
!
crypto map aaa 1 ipsec-isakmp
 set peer 192.168.1.2
 set transform-set todes
 match address 101
!
!
!
!
!
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
!
!
!
interface Ethernet0/0
 ip address 10.1.1.1 255.255.255.0
 ip nat inside
 half-duplex
!
interface Serial0/0
 ip address 192.168.10.2 255.255.255.0
 ip nat outside
 no fair-queue
 crypto map aaa
!
interface BRI0/0
 no ip address
 shutdown
!
ip nat inside source list 120 interface Serial0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.10.1
ip http server
ip pim bidir-enable
!
!
access-list 101 permit ip 10.1.1.0 0.0.0.255 172.16.10.0 0.0.0.255
access-list 120 deny   ip 10.1.1.0 0.0.0.255 172.16.10.0 0.0.0.255
access-list 120 permit ip 10.1.1.0 0.0.0.255 any
!
call rsvp-sync
!
voice-port 1/0/0
!
voice-port 1/0/1
!
voice-port 1/1/0
!
voice-port 1/1/1
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

Router#


中间路由器只把外口与内口加上地址,配置时钟,打开即可。。

Make Your Own Router - Secrets Revealed:【上一篇】
某医科大双出口配置案例:【下一篇】
【相关文章】
  • OpenVPN中connect/disconnect脚本,用于计费
  • m0n0wall 1.2 release VPN 问题
  • redwall firewall-0.5.5 VPN 不能使用 web-configure
  • MPEG4 & H.264学习笔记之一 ------ 视频格式与质量
  • MPEG4 & H.264学习笔记之二 ------ 视频编码基本概念及时域模型
  • MPEG4 & H.264学习笔记之三 ------ 图像模型(图像处理过程)
  • H.263介绍
  • H.264 sequence parameter sets成员值含义学习笔记
  • H.264 picture parameter sets成员值含义学习笔记
  • MPEG4 & H.264学习笔记之三 ------ 熵编码
  • 【随机文章】
  • CorelDRAW中工业设计效果图
  • 使用Objptr函数快速查找集合中的对象
  • 《天翼之链》戳刺型小武70级练级路线
  • 清晰简单的SPT讲解
  • 谈谈PHP语法(4)
  • Coreldraw 初始设置要项
  • 在vmware中实现win2003&rh9的双系统(1)
  • 哪位兄弟有《数据库系统实现》一书啊!
  • 改造 MFC 编写的控件在 Win32ASM 中使用
  • 【基础】一个指针的例子(推荐)
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.