华为2621路由器做vpn,但是配了之后不能琏上,后来琏上了却不能访问,不知道怎么觖决,望各位大哥帮帮忙, 看看下面的配置有什么问题,帮我改正一下:
local-user wyingtai service-type administrator password simple wyingtai
local-user lns_user service-type ppp password simple lns
local-user zygsky service-type ppp password simple 658310
l2tp enable
ip pool 2 10.0.0.3 10.0.0.100
firewall enable
aaa-enable
aaa accounting-scheme optional
undo idle-timeout
!
dhcp server ip-pool 1
network 192.168.0.0 mask 255.255.255.0
gateway-list 192.168.0.1
dns-list 61.139.2.69
!
acl 2000 match-order auto
rule normal permit source 192.168.0.0 0.0.0.255
!
interface Aux0
async mode flow
link-protocol ppp
!
interface Ethernet0
ip address 220.166.129.91 255.255.255.0
nat outbound 2000 interface
nat server global 220.166.129.91 www inside 192.168.0.2 www tcp
!
interface Ethernet1
ip address 192.168.0.1 255.255.255.0
!
interface Serial0
link-protocol ppp
!
interface Serial1
link-protocol ppp
!
interface Virtual-Template1
link-protocol ppp
ppp authentication-mode chap
remote address pool 2
ip address 10.0.0.1 255.255.255.0
!
l2tp-group 1
! Default L2TP group
allow l2tp virtual-template 1
mandatory-lcp
mandatory-chap
tunnel name lns-end
undo tunnel authentication
!
quit
ip route-static 0.0.0.0 0.0.0.0 220.166.129.1 preference 60
ip route-static 10.0.0.0 255.255.255.0 Virtual-Template 1 preference 60
!
return
[此贴子已经被作者于2005-4-11 11:41:41编辑过]
|