RSS订阅
RSS订阅TT网络

Easy VPN帮助实现移动办公远程接入(三)

2008-10-27  选择字号:  | |
打印本文章

导读:实现站点到站点的VPN和远距离工作者或工作在外的员工所使用的远程访问类型的VPN不同的是:站点到站点VPN利用连接两端的网关,网关到网关的流量是加密的。

关键词:VPN

正在加载数据...

    完成之后,如果需要修改,可以在主界面编辑和修改。

  下面是上述配置后路由器的执行结果。

    

Building configuration...
    
    Current configuration : 3336 bytes
    !
    version 12.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname Router
    !
    boot-start-marker
    boot-end-marker
    !
    enable password cisco
    !
    aaa new-model
    !
    
    !--- In order to set AAA authentication at login, use the aaa authentication login 
    !--- command in global configuration mode
    .
    aaa authentication login default local
    
    !--- Here, list name "sdm_vpn_xauth_ml_1" is specified for 
    !--- the authentication of the clients.
    
    aaa authentication login sdm_vpn_xauth_ml_1 local
    aaa authorization exec default local 
    aaa authorization network sdm_vpn_group_ml_1 local 
    !
    aaa session-id common
    !
    resource policy
    !
    !
    ip cef
    !
    !--- The RSA certificate generates after the 
    !--- ip http secure-server command is enabled.
    
    crypto pki trustpoint TP-self-signed-392370502
     enrollment selfsigned
     subject-name cn=IOS-Self-Signed-Certificate-392370502
     revocation-check none
     rsakeypair TP-self-signed-392370502
    !
    !
    crypto pki certificate chain TP-self-signed-392370502
     certificate self-signed 01
    3082023C 308201A5 A0030201 02020101 300D0609 2A864886 F70D0101 04050030 
    30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274 
    (省略)
    quit
    !
    
    !--- Creates a user account with all privileges.
    
    username sdmsdm privilege 15 password 0 sdmsdm
    !
    ! 
    
    !--- Creates an isakmp policy 1 with parameters like 
    !--- 3des encryption, pre-share key authentication, and DH group 2.
    
    crypto isakmp policy 1
     encr 3des
     authentication pre-share
     group 2
    
    crypto isakmp client configuration group vpn
    
    !--- Defines the pre-shared key as sdmsdm.
    
    key sdmsdm
     pool SDM_POOL_1
     netmask 255.255.255.0
    !
    
    !--- Defines transform set parameters.
    
    crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
    !
    crypto dynamic-map SDM_DYNMAP_1 1
     set transform-set ESP-3DES-SHA 
     reverse-route
    !
    
    !--- Specifies the crypto map parameters.
    
    crypto map SDM_CMAP_1 client authentication list sdm_vpn_xauth_ml_1
    crypto map SDM_CMAP_1 isakmp authorization list sdm_vpn_group_ml_1
    crypto map SDM_CMAP_1 client configuration address respond
    crypto map SDM_CMAP_1 65535 ipsec-isakmp dynamic SDM_DYNMAP_1 
    !
    interface Ethernet0/0
     no ip address
     shutdown
     half-duplex
    !
    interface FastEthernet1/0
     ip address 10.77.241.157 255.255.255.192
     duplex auto
     speed auto
    !
    interface Serial2/0
     ip address 10.1.1.1 255.255.255.0
     no fair-queue
    
    !--- Applies the crypto map SDM_CMAP1 to the interface.
    
    crypto map SDM_CMAP_1
    !
    interface Serial2/1
     no ip address
     shutdown
    !
    interface Serial2/2
     no ip address
     shutdown
    !
    interface Serial2/3
     no ip address
     shutdown
    
    !--- Creates a local pool named SDM_POOL_1 for issuing IP 
    !--- addresses to clients.
    
    ip local pool SDM_POOL_1 192.168.2.1 192.168.2.5
    
    !--- Commands for enabling http and https required to launch SDM. 
    
    ip http server
    ip http secure-server
    !
    control-plane
    !
    line con 0
    line aux 0
    line vty 0 4
     password cisco
    !
    end


Easy VPN帮助实现移动办公远程接入
 Easy VPN帮助实现移动办公远程接入(一)
 Easy VPN帮助实现移动办公远程接入(二)
 Easy VPN帮助实现移动办公远程接入(三)

原文出处:http://net.it168.com/a2008/1027/209/000000209418_3.shtml
作者:陈楠    
前文阐述了如何为Client-to-Site连接和Cisco的EzVPN创建一个VPN网关和客户端以支持Network-to-Network的VPN拓扑。本文介绍实现静态Network-to-Network的IPsec链接的方法。
实现站点到站点的VPN和远距离工作者或工作在外的员工所使用的远程访问类型的VPN不同的是:站点到站点VPN利用连接两端的网关,网关到网关的流量是加密的。
实现站点到站点的VPN和远距离工作者或工作在外的员工所使用的远程访问类型的VPN不同的是:站点到站点VPN利用连接两端的网关,网关到网关的流量是加密的。
实现站点到站点的VPN和远距离工作者或工作在外的员工所使用的远程访问类型的VPN不同的是:站点到站点VPN利用连接两端的网关,网关到网关的流量是加密的。
我在之前的文章中提到过有两种不同的部署Cisco软件客户端的方法。第二种创建VPN客户端网关的方法是全加密的,或者我们称为“新式”拓扑。

如果你曾经有过处理HTTP错误码的经历,你肯定知道这个过程是很让人头痛的。往往,这些神秘的代码有多种意思而让你摸不着头脑。

随着无线网络的广泛应用,网络管理者在进行无线网络的监控、分析和测试的过程中需要应用到多种工具,如iPerf、频谱分析器和Pilot等。本专题对这些工具的应用进行了总结,供大家参考。

在这一专题中我们将按OSI分层角度探讨网络安全。我们将深入研究OSI堆栈,从物理层开始直到应用层。从分析每一层的漏洞出发,假想攻击这些漏洞的各种可能性。
最新更新
专家答疑
技巧
Lisa Phifer
问:在不同的无线技术中,分别在什么时候应用WLAN、Wi-Fi和WiMax?Wi-Fi和WLAN的最主要的不同是什么?
chris Partsenidis
因特网网络连接中经常会遇到两种连接方式:因特网连接共享(ICS)与XP中两个网络适配器(NIC)间桥接,这两种连接有什么区别?
Michael Gregg
问:我在工作中应用遗传算法(genetic algorithm)来进行入侵监控。我是这个领域的新手,我想请教专家为了进行算法工作,我该怎样进行编码?