Setting up Your Peplink Device
On Balance models, navigate to Network > Remote User Access.
On MAX models, navigate to Advanced > Remote User Access.
The following menu will appear:
Click Enable, and the menu will expand.
Enter your preshared key in the Preshared Key text area.
In the Listen on section, select the WAN ports that you want the L2TP server to pay attention to. Be sure that at least one of the WAN ports have a public IP address.
Under the User Accounts section, enter the Usernames and Passwords for each client who will connect to the VPN. For bulk entry, click the (?) logo to enable pasting directly from a CSV file.
Setting Up Your Android Device
Notice: VPN configuration for Android varies depending on model. If in doubt, please refer to your device documentation.
Open your VPN settings page and tap the + button to add a new VPN profile.
The Edit VPN Profile page will appear, fill it out with the information you entered on your Peplink Device and tap Save. Back on the VPN screen, tap your VPN profile, enter your credentials, and press connect.
Setting Up Your iOS Device
Open your Settings page, tap the General button. Scroll down until you see the VPN column and press the > symbol. On the VPN screen, tap Add VPN Configuration…
The Add Configuration page will appear, fill it out with the information you entered on your Peplink Device and tap Save. Back on the VPN screen, tap the button beside Not Connected to begin connecting via VPN.
Setting Up L2TP VPN for Windows 10
- In the lower right corner of the screen, on the taskbar, click on the “Action Center” icon and then select the VPN option.
- This will open the “Network & Internet” settings window. Click on “Add a VPN connection”
- In the “Add a VPN Connection” window select the options for your connection.
Please follow these instructions when filling the fields:
- VPN provider: Windows (built-in)
- Connection Name: Name your connection with something memorable.
- Server name or address: Enter the host-name or the IP address of your server.
- VPN Type: Select the VPN type applicable for your connection.
- Type of sign-in info: Select the authentication method used for your connection.
- User name: Enter the user name for the VPN connection if applicable.
- Password: Enter the password for the VPN connection if applicable.
- Click on “Save” to save the VPN connection settings within Windows 10.
- Your saved VPN connection profile is now listed for you to select.
- Next we need to configure settings related to the L2TP VPN Connection in the “Network and Sharing Center” Right-Click on the monitor or Wi-Fi icon in the lower right corner of the screen, on the taskbar, then select “Open Network and Sharing Center”.
6)On the left side of the “Network and Sharing Center” window, select “Change adapter settings”
- Right click the L2TP VPN Connection just created and select “Properties”
- Select the “Security” tab on the top of the properties window.
Please follow these instructions when filling the fields:
- Select “Allow these protocols”
- Ensure that “Microsoft CHAP Version 2 (MS-CHAP v2)” is selected.
- Select the “Advanced settings” button.
- Ensure that your desired authentication method for the L2TP VPN connection is selected and the key credentials are present, if applicable.
- To connect to the L2TP VPN connection click on the monitor or Wi-Fi icon in the lower right corner of the screen, on the taskbar, and select the desired VPN connection. The “Network & Internet” settings window will open.
- Select the desired VPN connection and click the “Connect” button.
Setting Up L2TP VPN for OS X El Capitan
1.) To configure a L2TP VPN connection in OS X 10.11, access the “System Preferences…”
2.) Select the “Network” icon to access the network connections.
3.) Select the “+” button in the bottom left corner of the “Network” window to add a new connection.
4.) Select “VPN” for the interface type. Select “L2TP over IPSec” for the VPN Type. Name the network connection accordingly, for easy recognition. Select “Create” to create the new connection.
5.) Enter the IP address of the VPN server you will be connecting to in the “Server Address” area and your username in the “Account Name” area. Select “Authentication Settings” to setup your user authentication credentials.
6.) Enter your user account password in the “Password” area. Enter the “shared secret password” for the connection in the “Shared Secret” area, you may obtain this from your network administrator.
7.) From the network window, select “Advanced” to ensure that traffic traverses the VPN.
8.) In the “Advanced” window, ensure that you are on the “Options” tab and select “Send all traffic over VPN connection” if it is not already selected.
To use your new L2TP connection, select the appropriate connection from the available network connections and then select “Connect” under the connection details.
Setting Up L2TP server behind a NAT device
-
These are the ports (UDP/500, UDP/1701, UDP/4500) that need to port forwarded by the upstream NAT device to the L2TP server.
-
We need to add a registry key into Windows PC in order to connect to the L2TP server successfully
-
Add AssumeUDPEncapsulationContextOnSendRule to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent
-
Set the value to 2
-
For more info, you may read more here
Setting Up L2TP server using Fusionhub
-
Please follow the steps above to setup the L2TP server in Fusionhub
-
In Fusionhub, please make sure DHCP server is enabled at the Fusionhub