Operations 2 min read
Configuring L2TP VPN on Huawei Devices
This guide provides a step‑by‑step configuration for setting up an L2TP VPN on Huawei equipment, covering ACL rules, IP pools, user authentication, interface settings, virtual templates, PPP parameters, static routing, and related commands.
Practical DevOps Architecture
Practical DevOps Architecture
Use L2TP VPN, configuration as follows:
#
l2tp enable
#
acl number 2001
rule 5 permit source 192.168.1.0 0.0.0.255
#
ip pool lns
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
#
aaa
local-user huawei password cipher abc@123
local-user huawei server-type ppp
#
interface GigabitEthernet1/0/0
ip address 202.1.1.1 255.255.255.0
nat outbound 2001
#
interface Virtual-Template1Set PPP authentication mode to PAP.
ppp authentication-mode papAdditional L2TP and routing configuration:
remote address pool lns
ppp ipcp dns 10.10.10.10
ip address 192.168.1.1 255.255.255.0
#
l2tp-group 1
undo tunnel authentication
allow l2tp virtual-template 1
#
ip route-static 0.0.0.0 0.0.0.0 202.1.1.2
#
returnWritten by
Practical DevOps Architecture
Hands‑on DevOps operations using Docker, K8s, Jenkins, and Ansible—empowering ops professionals to grow together through sharing, discussion, knowledge consolidation, and continuous improvement.
0 followers
Reader feedback
How this landed with the community
Rate this article
Was this worth your time?
Discussion
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.