打印

[原创] 典型L2TP-VPN方案

典型L2TP-VPN方案

典型L2TP-VPN方案


一:目的
使用L2TP协议,实现下面各个乡镇点能访问各分公司访问中心服务器,实现用户一次拨号实现上服务器。如果在MA5200F上对每台上分公司专网的MAC地址进行绑定,从而能更高满足用户安全性方面的要求。



二:组网:









三、方案实施
基本思路是在MA5200F上单独建一个域,在此域中对用户接入做本地认证,同时在MA5200F上启用L2TP组,设置同R2611对接的参数;在R2611上启用L2TP组,设置同MA5200F对接参数,设置地址池(用户PC在此地址池中取地址),设置用户拨入帐号(用于对拨入用户进行认证)。


四、附录:
1、
R2611配置


dis cu


Now create configuration...


Current configuration



!


version 1.74

local-user xxx service-type administrator password cipher
)/$07TR692T

local-user vpn@caizhengju service-type ppp password simple gd@czj
local-user 1@caizhengju service-type ppp password simple 1

local-user 2@caizhengju service-type ppp password simple 2

//说明:如果有多少个用户,就需要添加多少个local-user,域名都相同


l2tp enable

ip pool 1 10.4.122.2 10.4.122.100



firewall enable

aaa-enable


aaa authentication-scheme login default local

aaa authentication-scheme login default local



interface Aux0


async mode flow



link-protocol ppp


!


interface Ethernet0



ip address 192.168.1.2 255.255.255.0


!


interface Ethernet1


ip address 10.4.123.1 255.255.255.0
!


interface Virtual-Template1




link-protocol ppp


mtu 1500



ppp authentication-mode pap


remote address pool 1
*






ip address 10.4.122.1 255.255.255.0



!



l2tp-group 1




allow l2tp virtual-template 1 remote lac-end


tunnel name lns-end


tunnel password simple huawei


!


quit


ip route-static 0.0.0.0
0.0.0.0
192.168.1.1 preference 60


!


return


2、
MA5200F需添加的数据

l2tp enable

l2tp-group 1


tunnel authentication


tunnel password simple huawei


tunnel name lac-end


start l2tp ip 192.168.1.2

domain
caizhengju


authentication-scheme
local


accounting-scheme
none



l2tp-group
1
aaa

authentication-scheme
local

accounting-mode
none

可以增加MAC地址绑定


需注意的地方:
由于用户接入的安全性只有用户名和密码的健壮性来保证,所以用户密码尽可能要复杂些,且要保密。
附件: 您所在的用户组无法下载或查看附件
本帖最近评分记录
  • garnett_wu 菊花元 +2 感谢分享 2008-5-9 14:13
男人要永遠感謝在他20多嵗時候曾經陪在他身邊的女人,因爲20多嵗的男人處在一生中的最低點, 沒錢、沒事業,而20多嵗的女人卻是她一生中最燦爛的時候……

TOP