Application scenario
Take the following topology as an example, we will configure (Router A) as PPTP&L2TP VPN Client to connect the PPTP&L2TP Server (Router B).
Configuration Steps
Step 1. Configure the PPTP&L2TP VPN server.
For detail configuration, please refer to the following articles:
How to establish an L2TP Server by Omada Gateway in Standalone mode
How to establish a PPTP Server by Omada Gateway in Standalone mode
Step 2: Configure the PPTP&L2TP VPN client separately.
For L2TP VPN client, please go to “VPN>L2TP>L2TP client” and input the information from L2TP VPN server.
Note:
Account Name/Password: the user information created on VPN Server
Server IP: WAN IP of VPN Server
Pre-shared Key: the password created on VPN Server
Remote Subnet: the LAN Subnet of VPN Server which you can access via VPN connection
For PPTP VPN client, please go to “VPN>PPTP>PPTP client” and input the information from PPTP VPN server.
Note:
Account Name/Password: the user information created on VPN Server
Server IP: WAN IP of VPN Server
Remote Subnet: the LAN Subnet of VPN Server which you can access via VPN connection
For “Working Mode”, please check the explanation below:
NAT: NAT (Network Address Translation) mode allows the device to translate source IP address of L2TP packets to local IP address of L2TP tunnel.
Route: Route mode allows the device to forward L2TP packets via routing protocol.
Step 3: Connect the PPTP&L2TP VPN client to PPTP&L2TP VPN servers and verify the connection.
1. Please go to “VPN>PPTP&L2TP>Tunnel list” to check the connection for both PPTP&L2TP VPN server and client.
2. Try to ping the LAN IP from VPN server (Router B) on VPN client (Router A), it would get reply from VPN server.
The above two methods mean the VPN tunnel establishes successfully between the VPN client and VPN server.