使用SDM配置Cisco Easy VPN 教程 图文

XX公司,现在因为工作业务需求,需要搭建VPN,因为出差的用户比较多,而且又不同的客户,因为不同的客户和公司的业务关系也不一样。所以需要对于不同的用户,部署不同的VPN策略,在此给XX公司部署Easy VPN,比较节省成本。使用SDM(cisco安全设备管理,图形界面软件)来调试VPN

公司拓扑:



实验过程:

第一步 R1的预配置

复制代码

代码如下:

R1(config)#int e1/0
R1(config-if)#ip add 192.168.1.200 255.255.255.0
R1(config-if)#no sh
R1(config-if)#int f0/0
R1(config-if)#ip add 172.16.0.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#
R1(config)#ip http server 启用http服务,用于SDM登陆
R1(config)#ip http authentication enable http认证采用enable密码来做认证
R1(config)#lin vty 0 4 进入VTY接口下
R1(config-line)#transport input ssh telnet 配置SSH和telnet
R1(config-line)#login local 登陆采用本地认证
R1(config-line)#end

第二步 在SDM中添加一个新的用户以便开启AAA

第三步 输入用户名和密码,将用户的权限设置为Level 15

第四步 在SDM上开启AAA服务

第五步 开始SDM配置Easy VPN Server,在VPN→Easy VPN Server→启动Easy VPN服务向导

第六步 在Easy VPN Server服务向导中点击下一步

第七步 在接口和验证中选择接口为FashEthernet0/0,认证方式选择为预共享密钥

第八步 在IKE策略中选择默认

第九步 在转换集中选择默认

第十步 在组授权和组策略查找中选择本地

第十一步 在用户验证中选择仅限本地

第十二步 组授权和用户组策略中选择添加

第十三步 配置组策略

第十四步 确认无误后点结束

第十五步 查看shou run实际执行效果

复制代码

代码如下:

R1#show run
Building configuration...
Current configuration : 2094 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
aaa new-model
!
!
aaa authentication login default local
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
ip cef
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
!
!
username norvel privilege 15 secret 5 $1$EMdL$.RYjaI5OlA40s8rq0FsMJ/
archive
log config
hidekeys
!
!
crypto isakmp policy 1
encr 3des
authentication pre-share
group 2
!
crypto isakmp client configuration group sdmeasyvpn
key cisco
pool SDM_POOL_1
crypto isakmp profile sdm-ike-profile-1
match identity group sdmeasyvpn
client authentication list sdm_vpn_xauth_ml_1
isakmp authorization list sdm_vpn_group_ml_1
client configuration address respond
virtual-template 1
!
!
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
!
crypto ipsec profile SDM_Profile1
set transform-set ESP-3DES-SHA
set isakmp-profile sdm-ike-profile-1
!
!
interface FastEthernet0/0
ip address 172.16.0.1 255.255.255.0
duplex half
!
interface Ethernet1/0
ip address 192.168.1.200 255.255.255.0
duplex half
!
interface Ethernet1/1
no ip address
shutdown
duplex half
!
interface Ethernet1/2
no ip address
shutdown
duplex half
!
interface Ethernet1/3
no ip address
shutdown
duplex half
!
interface Virtual-Template1 type tunnel
ip unnumbered FastEthernet0/0
tunnel mode ipsec ipv4
tunnel protection ipsec profile SDM_Profile1
!
ip local pool SDM_POOL_1 192.168.0.100 192.168.0.150
ip forward-protocol nd
ip http server
no ip http secure-server
!
!
!
logging alarm informational
!
!
control-plane
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
transport input telnet ssh
!
!
end

第十六步 配置VPN Client

第十七步 点击VPN连接,连接后要求输入密码



第十八部 连接后状态



本文出自 “王万利的博客” 博客

(0)

相关推荐

  • Ubuntu 11.0下配置Web服务器详细教程[ 图文]

    近日,有消息爆出Linux桌面已经趋于“死亡”,众多Linux爱好者感到失望,但令人可喜的是Linux在服务器领域表现却尤为喜人,据IDC数据显示,部署了Linux系统的服务器占到20%的市场份额。其 ...

  • Cisco SSL VPN 配置详解 图文

    基于SSL、DTLS和IPsec的完全网络远程访问--完全网络访问几乎能够为任何应用或网络资源提供网络层远程用户连接,而且通常能够将接入扩展到托管计算机,例如公司拥有的笔记本电脑。建立连接时,可以使用 ...

  • Cisco IPSEC VPN 的配置实例

    IPsec VPN IPSec VPN即指采用IPSec协议来实现远程接入的一种VPN技术,IPSec全称为Internet Protocol Security,是由Internet Engineer ...

  • 配置GeeM2传奇登陆器详细图文教程

    因为PAK文件的诞生,导致单职业版本没有可以通用的登录器,如果你还不知道什么是PAK文件,那么小编在这里小提一下,就是一种带加密的高清.真彩补丁文件,为什么要带上密码呢?为了版本制作自己身的权益,那么 ...

  • 思科路由器及安全配置工具(SDM配置全攻略)

    思科路由器及安全配置工具(SDM) 产品简介:Cisco SDM 是一种直观且基于 Web 的设备管理工具,用来管理以 Cisco IOS® 软件为基础的路由器。Cisco SDM 可通过智能向导简化 ...

  • InterServer一键安装快速搭建PPTP VPN教程

    笔者接触VPS主机也有一段时间,积累下来的教程基本上可以满足新手站长入门学习和使用VPS搭建网站。最近老左做了一个调查,咨询了不少的使用VPS主机的站长,发现很多部分购买VPS的站长并不是用来建站的, ...

  • 如何配置Cisco路由器ACL访问控制列的实际案例

    什么是ACL? 访问控制列表简称为ACL,访问控制列表使用包过滤技术,在路由器上读取第三层及第四层包头中的信息如源地址,目的地址,源端口,目的端口等,根据预先定义好的规则对包进行过滤,从而达到访问控制 ...

  • OpenWRT 路由配置技巧(PPTP VPN + 断线自动重连+chnroutes国内路由表)

    chnroutes 路由表 这个路由表集中了所有分配到中国大陆的 IP 段,根据 http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-late ...

  • 如何装系统win7教程(图文)

    如何装系统win7教程(图文) 装系统win7步骤如下 1.制作U盘PE启动盘,然后将系统win7镜像中的gho文件解压到U盘GHO目录下; 2.在usb接口插入U盘,启动电脑时按下F12.F11.E ...