华为防火墙VPN

来源:互联网 发布:js正则表匹配标点符号 编辑:程序博客网 时间:2024/06/05 20:16
华为防火墙VPN
华为防火墙VPN


interface GigabitEthernet0/0/0
 ip address 192.168.1.10 255.255.255.0
interface GigabitEthernet0/0/1
 ip address 202.100.1.10 255.255.255.0
firewall zone trust
 add interface GigabitEthernet0/0/0
firewall zone untrust
 add interface GigabitEthernet0/0/1
interface Virtual-Template1
 ppp authentication-mode chap
 alias Virtual-Template1
 ip address 172.16.1.1 255.255.255.0
 remote address pool 1
policy interzone local untrust inbound
 policy 0
 action permit                               
aaa
 local-user l2tpuser password cipherhuawei123
 ip pool 1 172.16.1.10 172.16.1.80                            
l2tp-group 1
 allow l2tp virtual-template 1 remotel2tp_tunnel
 tunnel password cipher huawei123
 tunnel name LNS 
0 0
原创粉丝点击