华为认证: L2TP VPN 配置
[Quidway]dis cu
sysname Quidway
l2tp enable
local-user admin password simple admin
local-user admin level 3
local-user vpdnuser service-type ppp
local-user vpdnuser1 service-type ppp
local-user vpdnuser2 service-type ppp
local-user vpdnuser3 service-type ppp
local-user vpdnuser4 service-type ppp
local-user vpdnuser5 service-type ppp
local-user vpdnuser6 service-type ppp
local-user vpdnuser7 service-type ppp
local-user vpdnuser8 service-type ppp
local-user vpdnuser9 service-type ppp
local-user vpdnuser10 service-type ppp
local-user quidway service-type terminal telnet
#
#
#
#
#
dns primary 202.102.192.68
#
ppp authentication-mode pap
remote address pool 1
interface Aux0
link-protocol ppp
interface Ethernet0/0
firewall packet-filter 3001 inbound
nat outbound 2001
#
ip address 192.168.0.2 255.255.255.0
interface NULL0
acl number 2001
#
rule 0 deny tcp destination-port eq 135
rule 2 deny tcp destination-port eq 4444
rule 4 deny udp destination-port eq tftp
rule 7 deny tcp source-port eq 5554 destination-port eq 9996
rule 10 deny tcp destination-port eq 138
rule 14 deny udp destination-port eq 136
rule 16 deny udp destination-port eq 445
rule 18 deny tcp destination-port eq sunrpc
rule 20 deny tcp destination-port eq 1978
rule 22 deny tcp destination-port eq 3389
rule 24 deny udp destination-port eq snmp
rule 27 deny tcp destination-port eq 2745
rule 29 deny tcp destination-port eq 6129
rule 31 deny tcp destination-port eq 3128
rule 33 deny udp destination-port eq netbios-ns
rule 35 deny tcp destination-port eq 6667
rule 38 deny tcp destination-port eq 1068
rule 40 deny udp destination-port eq netbios-ssn
rule 42 deny udp destination-port eq 539
rule 44 deny udp destination-port eq 593
l2tp-group 1
mandatory-lcp
#
#
snmp-agent local-engineid 000007DB7F000001000075A7
#
authentication-mode local
user-interface vty 0 4
#
修改注册表:HKEY_LOCAL_MACHINE"SYSTEM"CurrentControlSet"Services"RasMan"Parameters
如果没有此键,请自行创建
编辑推荐:
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>