想做1个端对点的L2TP VPN,用于出差员工远程访问公司内部服务器,请教大神,我这样配置的对不对。
#
version 5.20, Release 2514P10
#
sysname H3C
#
l2tp enable
#
domain default enable system
#
dns proxy enable
#
telnet server enable
#
dar p2p signature-file flash:/p2p_default.mtd
#
ndp enable
#
ntdp enable
#
cluster enable
#
port-security enable
#
password-recovery enable
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
domain system
authentication ppp local
authorization ppp local
accounting ppp local
access-limit disable
state active
idle-cut disable
self-service-url disable
ip pool 1 10.58.0.2 10.58.0.254
ip pool 10 192.168.20.50 192.168.20.250
#
dhcp server ip-pool vlan1 extended
network ip range 192.168.1.1 192.168.1.200
network mask 255.255.255.0
gateway-list 192.168.1.1
dns-list 192.168.1.1
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$59Bk7smcOaLgzOD9TEbXSx9y7D/ymeCQwhbACSJ2
authorization-attribute level 3
service-type telnet
service-type web
local-user haplox
password cipher $c$3$b4pGID+9tcvXoC3iTkoEGCX5ARARE063QUnsAYhv
service-type ppp
#
cwmp
undo cwmp enable
#
l2tp-group 1
undo tunnel authentication
allow l2tp virtual-template 1
tunnel name h3c
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Cellular0/0
async mode protocol
link-protocol ppp
tcp mss 1024
nat outbound
#
interface Dialer10
nat outbound
link-protocol ppp
ppp chap user 0793010258695
ppp chap password cipher $c$3$tcc8O+uGkUKENgzBqe8F7lStQbURJ0F4S3kU
ppp pap local-user 0793010258695 password cipher $c$3$IrW3JRd8LqUhN7o1ZfKKw20cELWTJsuyIEiO
ppp ipcp dns admit-any
ppp ipcp dns request
mtu 1492
ip address ppp-negotiate
tcp mss 1024
dialer user username
dialer-group 10
dialer bundle 10
#
interface Virtual-Template1
description isthis
ppp authentication-mode chap domain system
remote address pool 10
ip address 192.168.20.254 255.255.255.0
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.1.1 255.255.255.0
tcp mss 1024
dhcp server apply ip-pool vlan1
#
interface GigabitEthernet0/0
port link-mode route
nat outbound
pppoe-client dial-bundle-number 10
#
interface GigabitEthernet0/1
port link-mode bridge
#
interface GigabitEthernet0/2
port link-mode bridge
#
interface GigabitEthernet0/3
port link-mode bridge
#
interface GigabitEthernet0/4
port link-mode bridge
#
ip route-static 0.0.0.0 0.0.0.0 Dialer10
#
dhcp enable
#
ssh server enable
#
dialer-rule 10 ip permit
#
nms primary monitor-interface Dialer10
#
load xml-configuration
#
load tr069-configuration
#
user-interface tty 12
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return
(0)
最佳答案
L2TP是目前使用最为广泛的是VPDN隧道协议,在公共网络上为企业建立安全的虚拟专网。企业驻外机构和出差人员可从远程经由公共网络,通过虚拟隧道实现和企业总部之间的网络连接。
Comware V5平台MSR路由器L2TP VPN(命令行)配置http://help.h3c.com/robot/p4data/375072bcaf8c47f18dd97e82504f39d6/
Comware V5平台MSR路由器L2TP VPN(WEB)配置http://help.h3c.com/robot/p4data/4b96a971d4214df499617d606ed26eb5/
Comware V7平台MSR路由器L2TP VPN(命令行)配置http://help.h3c.com/robot/p4data/e45c89e11c774c0cabf950fba4285dc4/
Comware V7平台MSR路由器L2TP VPN(WEB)配置http://help.h3c.com/robot/p4data/8c466674157c473aa9e15a586c49534b/
WIN7系统L2TP VPN拨号设置http://help.h3c.com/robot/p4data/c997fd72061e4e4d96f0e8d099e55244/
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这个你只要上百度搜索一下DDNS或者 花生壳