Ruijie Community

Title: How to configure L2TP VPN? [Print this page]

Author: zhangqiao@ruiji    Time: 2024-5-10 16:53
Title: How to configure L2TP VPN?
1. Configuring the L2TP Server
1.1 Basic Settings of L2TP Server
Choose One-Device > Gateway > Config > VPN> L2TP > L2TP Settings.
Turn on the L2TP function, set L2TP Type to Server, set L2TP server parameters, and click Save.
Note:
The local tunnel address and IP address range of the address pool cannot overlap the network segment of the LAN port on the device.
1.2. Configuring the L2TP over IPsec Server
Choose One-Device > Gateway > VPN > L2TP> L2TP Settings
After you complete Basic Settings of L2TP Server, enable IPsec encryption on the L2TP server to guarantee communication security.



2. Configuring L2TP User
Choose One-Device > Gateway > Config > VPN> VPN Account
Only user accounts added to the VPN client list are allowed to dial up to connect to the L2TP server. Therefore, you need to manually configure user accounts for clients to access the L2TP server.
Click Add. In the dialog box that appears, set Service Type to L2TP or ALL.
(If you select ALL, the created account can be used to establish all types of VPN tunnels.) Enter the username, password, and peer subnet, select a network mode, and click OK.



3. Configuring the L2TP Client
3.1 Basic Settings of L2TP Client
Choose One-Device > Gateway > Config > VPN> L2TP > L2TP Settings.
Turn on the L2TP function, set L2TP Type to Client,set L2TP client parameters, and click Save


3.2 Configuring the L2TP over IPsec Client

Choose One-Device > Gateway > Config > VPN> L2TP > L2TP Settings.
After you complete Basic Settings of L2TP Client, enable IPsec encryption on the L2TP client to guarantee communication security.The IPsec encryption configuration on the server and client must be consistent.
4. Viewing the L2TP Tunnel Information
Choose One-Device > Gateway > Config > VPN> L2TP > Tunnel List.
It takes some time to establish a VPN connection between the server and client. After the configuration of the server and client is completed, wait for 1 to 2 minutes to refresh the page and view the L2TP tunnel establishment status.





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2