l2tp enable
interface Virtual-Template1
ppp authentication-mode chap
ip address 10.1.1.1 255.255.255.0
remote address pool 1
l2tp-group 1
allow l2tp virtual-template 1 remote client1
tunnel name LNS
tunnel password cipher admin@1234!
aaa
local-user vpdnuser password cipher admin@1234!
ip pool 1 10.1.1.2 10.1.1.100
authentication-scheme default
firewall zone trust
add interface GigabitEthernet0/0/0
add interface GigabitEthernet0/0/1
add interface Virtual-Template1
firewall packet-filter default permit all
本文出自 “为梦想奋斗” 博客,谢绝转载!
原文地址:http://hanzheng.blog.51cto.com/3080616/1751158