华为路由器设置L2TP VPN.doc
华为路由器设置L2TP VPN作者:老网虫 联系QQ:228112=第一步:在路由器上设置=* Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. *User interface aux0 is available.Please press ENTER.<H3C><H3C>sysSystem View: return to User View with Ctrl+Z.H3Cl2tp enableH3Cdomain systemH3C-isp-systemip pool 1 172.16.1.2 172.16.1.254 /VPN 地址池H3C-isp-systemquitH3Clocal-user ymszvpn /VPN用户名New local user added.H3C-luser-ymszvpnpassword simple 69010888 /VPN 用户密码H3C-luser-ymszvpnservice-type pppH3C-luser-ymszvpnquitH3Cinterface Virtual-Template 0H3C-Virtual-Template0ppp authentication-mode papH3C-Virtual-Template0ip address 172.16.1.1 255.255.255.0 /VPN IP地址H3C-Virtual-Template0remote address pool 1H3C-Virtual-Template0quitH3Cl2tp-group 1H3C-l2tp1allow l2tp virtual-template 0H3C-l2tp1undo tunnel authenticationH3C-l2tp1mandatory-lcpH3C-l2tp1quitH3CsaveThe current configuration will be written to the device. Are you sure? Y/N:yPlease input the file name(*.cfg)flash:/startup.cfg(To leave the existing filename unchanged, press the enter key):flash:/startup.cfg exists, overwrite? Y/N:y Validating file. Please wait. Configuration is saved to device successfully.=第二步:WinXP上设置=1.首先导入注册表文件(直接复制生成l2tp.reg)然后导入并从新启动电脑!-Windows Registry Editor Version 5.00-HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRasManParameters-HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRasManParametersQuarantineHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRasManParameters"Medias"=hex(7):72,00,61,00,73,00,74,00,61,00,70,00,69,00,00,00,00,00"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f, 00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00, 72,00,61,00,73,00,6d,00,61,00,6e,00,73,00,2e,00,64,00,6c,00,6c,00,00,00"IpOutLowWatermark"=dword:00000001"IpOutHighWatermark"=dword:00000005"ProhibitIpSec"=dword:00000001HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRasManParametersQuarantine"Enabled"=dword:00000001"AutoRefreshEnabled"=dword:00000000"AutoRefreshTimeout"=dword:01808580"WorkItemTimeout"=dword:00000bb8-2.客户计算机设置连接VPN服务器 成功设置完毕!Acknowledgements My deepest gratitude goes first and foremost to Professor aaa , my supervisor, for her constant encouragement and guidance. She has walked me through all the stages of the writing of this thesis. Without her consistent and illuminating instruction, this thesis could not havereached its present form. Second, I would like to express my heartfelt gratitude to Professor aaa, who led me into the world of translation. I am also greatly indebted to the professors and teachers at the Department of English: Professor dddd, Professor ssss, who have instructed and helped me a lot in the past two years. Last my thanks would go to my beloved family for their loving considerations and great confidence in me all through these years. I also owe my sincere gratitude to my friends and my fellow classmates who gave me their help and time in listening to me and helping me work out my problems during the difficult course of the thesis. My deepest gratitude goes first and foremost to Professor aaa , my supervisor, for her constant encouragement and guidance. She has walked me through all the stages of the writing of this thesis. Without her consistent and illuminating instruction, this thesis could not havereached its present form. Second, I would like to express my heartfelt gratitude to Professor aaa, who led me into the world of translation. I am also greatly indebted to the professors and teachers at the Department of English: Professor dddd, Professor ssss, who have instructed and helped me a lot in the past two years. Last my thanks would go to my beloved family for their loving considerations and great confidence in me all through these years. I also owe my sincere gratitude to my friends and my fellow classmates who gave me their help and time in listening to me and helping me work out my problems during the difficult course of the thesis.