Please Rate this Document

How to establish an L2TP Server by Omada Gateway in Standalone mode

Knowledgebase
FAQ
Omada Gateway
VPN
VPN server
VPN client
2024-07-02
20

Application Scenario

Taking an example for ER7206 to explain how to establish an L2TP server by Omada Gateway in standalone mode. The connection topology is as follows:

Note: If the Omada gateway is behind a NAT device, make sure that UDP port 1701 for L2TP traffic, UDP port 500/4500 for L2TP over IPsec VPN are open on the NAT device in front of the Omada gateway.

We configure ER7206 as the L2TP server.

Configuration Steps

Step 1. Check the network status.

Connect ER7206 according to the network topology and make sure that the Internet is available. Log into the router page, record the IP address (123.123.123.123) of the WAN port, and the LAN IP is 192.168.0.1/24 in default.

Step 2. Create the VPN IP Pool.

When the VPN client is applying to connect, the VPN server will assign a virtual IP address, which is from the VPN IP Pool. Go to Preferences --> VPN IP Pool, Click Add.

On the popup page, here we name the IP Pool Name as L2TP, configure Starting IP Address as 192.168.10.10, Ending IP Address as 192.168.10.20, then click OK to save the settings. You may set the values according to your network.

Step3. Enable L2TP VPN Server.

Go to VPN --> L2TP --> L2TP Server, click Add. On the popup page, choose WAN port as WAN1, specify IPsec Encryption as Encrypted (recommended for safety), set the Pre-shared Key as tplink (you can set it according to your demands) for IPsec encryption, then click OK to save the settings.

Step4. Create a L2TP VPN User.

Go to VPN ---> Users, click Add. Here we specify Account Name as tplink, Password as tplink, select Protocol as L2TP, configure Local IP Address as 192.168.0.210 (Local IP Address is the IP address of the virtual VPN adapter. It’s recommended configuring it in the same subnet with the LAN IP). On the below options, we specify IP Address Pool as L2TP we created above, DNS Address as 8.8.8.8, Network Mode as Client-to-LAN, Max Connections as 10, then click OK.

Till now, we have finished the configuration of the L2TP VPN Server on the Omada Gateway.

Please follow this FAQ to configure the VPN client on Windows PC: How to configure PPTP/L2TP client on remote PC?

Related Documents