配置Client-Initiated场景下的L2TP VPN(本地认证)web界面配置
配置Client-Initiated场景下的L2TP VPN(本地认证)web界面配置
(1)拓扑图
(2)基础配置
华为usg防火墙
华为usg防火墙:配置接口
interface GigabitEthernet0/0/0
undo shutdown
ip binding vpn-instance default
ip address 10.12.3.3 255.255.0.0
service-manage http permit
service-manage https permit
service-manage ping permit
service-manage ssh permit
service-manage snmp permit
service-manage telnet permit
service-manage netconf permit
#
interface GigabitEthernet1/0/0
undo shutdown
ip address 192.168.100.254 255.255.255.0
service-manage http permit
service-manage https permit
service-manage ping permit
service-manage ssh permit
service-manage snmp permit
service-manage telnet permit
service-manage netconf permit
#
interface GigabitEthernet1/0/1
undo shutdown
ip address 192.168.200.254 255.255.255.0
service-manage http permit
service-manage https permit
service-manage ping permit
service-manage ssh permit
service-manage snmp permit
service-manage telnet permit
service-manage netconf permit
#
把接口加入trust区域:
firewall zone trust
set priority 85
add interface GigabitEthernet0/0/0
add interface GigabitEthernet1/0/0
#
firewall zone untrust
set priority 5
add interface GigabitEthernet1/0/1
配置默认路由:
ip route-static 10.1.1.0 255.255.255.0 192.168.200.1
配置策略允许所有:
security-policy
default action permit
配置AAA:
aaa
manager-user admin
password cipher 密码
service-type web
level 15
sw1:
interface GE1/0/0
undo shutdown
#
interface GE1/0/1
undo shutdown
port default vlan 2
#
interface Vlanif1
ip address 10.1.1.1 255.255.255.0
#
interface Vlanif2
ip address 192.168.200.1 255.255.255.0
#
sw2:
interface GE1/0/0
undo shutdown
#
interface Vlanif1
ip address 192.168.100.100 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.100.254
(3)配置谁认证帐号
(4)配置L2TP
测试:vpn连接上,到对端的网络也就通了。
display ip pool name pool1 used
防火墙上配置的隧道名称是pc1, 电脑端配置的是pc2,则拔号不成功。
VPN配置案例汇总、VPN汇总(列表、list、全)vpnlist
http://www.zh-cjh.com/wenzhangguilei/1193.html
文章归类、所有文章列表、LISTLIST
http://www.zh-cjh.com/wangzhangonggao/2195.html
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。
转载请保留出处: www.zh-cjh.com珠海陈坚浩博客 » 配置Client-Initiated场景下的L2TP VPN(本地认证)web界面配置
作者: cjh
手机扫一扫,手机上查看此文章: |
一切源于价值!
其他 模板文件不存在: ./template/plugins/comment/pc/index.htm