VPN and Server Configuration for NSE 3000 VPN Solution

Learn how to configure VPN server and client settings for the NSE 3000 with this easy step-by-step guide. Instructions include Windows, Linux, MacOS, iOS/iPadOS and Android environments.

VPN Server Configuration from cnMaestro

  1. From the configuration menu, select VPN and RADIUS Server.

  2. Select Enable inbuilt VPN Server option and enter the details for VPN Server. Make sure to select Enable 2FA if two-factor authentication is required.

  3. Select Enable inbuilt RADIUS Server option and then click add new to add a RADIUS User.

  4. Save the configuration.

  5. If you have enabled 2FA, install Google Authenticator app in your phone.

    1. Open the Authenticator app.

    2. Select Scan a QR code option.

    3. On cnMaestro, click the QR code icon for the RADIUS user you have added. You will also receive the same QR code on the user email ID provided.

      image

    4. Scan the QR code.

    5. An Account will be added on your authenticator app with a 6-digit code which changes periodically.

    6. Make sure to add this 6-digit code along with your VPN Password. The code should be added after the VPN Password you have set.

      If your VPN Password is xxxxxxxx and the code shown in the app is yyyyyy, the new Password
      is xxxxxxxxyyyyyy.

Windows

Registry Change

Open the Command Prompt as Administrator. Run the following command (that should be all on one line):

REG ADD HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d 0x2 /f

Reboot your device once the registry changes are completed.

VPN Profile Configuration

  1. Go to Settings → Network & Internet → VPN.

  2. Click Add a VPN connection.

  3. Choose Windows (built-in) option from drop down menu for VPN provider.

  4. Enter a Connection name of your choice.

  5. Enter your VPN Server IP in the Server name or address field.

  6. Select L2TP/IPsec with pre-shared key in the VPN type drop-down menu.

  7. Enter your VPN IPsec PSK in the Pre-shared key field.

  8. Select User name and Password option in Type of sign-in info drop-down menu.

  9. Enter your VPN Username in the User name field.

  10. Enter your VPN Password in the Password field.

  11. Click the Save button.

  12. A new VPN connection has been added.

Adapter Settings

  1. Go to Control Panel → Network and Internet → Network and Sharing Center.

  2. Select Change adapter settings from the side menu.

  3. Right click on your VPN Connection and Select Properties.

  4. Click Allow these protocols and select Unencrypted password (PAP).

    image

  5. Select OK.

Connecting to the VPN

  1. Go to Settings → Network & Internet → VPN.

  2. Select your VPN connection and click Connect.

  3. Your device has been successfully connected to VPN.

Ubuntu Linux

Ubuntu 18.04 (and newer) users can install the network-manager-l2tp-gnome package using apt, then configure the IPsec/L2TP VPN client using the GUI.

Run the following command in the terminal.

sudo apt-get install network-manager-l2tp-gnome
  1. Go to Settings → Network → VPN. Click the + button.

  2. Select Layer 2 Tunneling Protocol (L2TP).

  3. Enter the VPN Name in the Name field.

  4. Enter Your VPN Server IP for the Gateway.

  5. Enter Your VPN Username for the User name.

  6. Enter Your VPN Password for the Password.

  7. Click the IPsec Settings… button.

  8. Check the Enable IPsec tunnel to L2TP host checkbox.

  9. Leave the Gateway ID field blank.

  10. Enter Your VPN IPsec PSK for the Pre-shared key.

  11. Expand the Advanced section.

  12. Enter aes128-sha1-modp2048 for the Phase1 Algorithms.

  13. Enter aes128-sha1 for the Phase2 Algorithms.

  14. Click Apply.

  15. Click OK, then click Add to save the VPN connection information.

  16. Turn the VPN switch ON.

MacOS

  1. Open System Preferences and go to the Network section.

  2. Click the + button in the lower-left corner of the window.

  3. Select VPN from the Interface drop-down menu.

  4. Select L2TP over IPSec from the VPN Type drop-down menu.

  5. Enter name of the VPN in the Service Name field.

  6. Click Create.

  7. Enter Your VPN Server IP for the Server Address.

  8. Enter Your VPN Username for the Account Name.

  9. Click the Authentication Settings button.

  10. In the User Authentication section, select the Password radio button and enter Your VPN Password.

  11. In the Machine Authentication section, select the Shared Secret radio button and enter Your VPN IPsec PSK.

  12. Click OK.

  13. Check the Show VPN status in menu bar checkbox.

  14. Click the Advanced button and make sure the Send all traffic over VPN connection checkbox is checked.

  15. Click the TCP/IP tab, and make sure Link-local only is selected in the Configure IPv6 section.

  16. Click OK to close the Advanced settings, and then click Apply to save the VPN connection information.

  17. Click connect.

  18. The VPN has been connected.

iOS/ iPadOS

  1. Go to Settings → General → VPN.

  2. Tap Add VPN Configuration…

  3. Click Type and Select L2TP.

  4. Enter the Description of your choice.

  5. Tap Server and enter Your VPN Server IP.

  6. Tap Account and enter Your VPN Username.

  7. Tap Password and enter Your VPN Password.

  8. Tap Secret and enter Your VPN IPsec PSK.

  9. Set the Send All Traffic switch to ON.

  10. Tap Done.

  11. Turn ON the VPN.

  12. The VPN has been connected.

Android

  1. Open Settings.

  2. Navigate to VPN.

    VPN settings location may vary depending on device manufacturer. The device represented here is a Samsung device.

  3. Tap : icon at top-right of screen.

  4. Enter the name of the VPN in the Name field.

  5. Select L2TP/IPSec PSK in the Type drop-down menu.

  6. Enter Your VPN Server IP in the Server address field.

  7. Enter Your VPN IPsec PSK in the IPSec pre-shared key field.

  8. Enter Your VPN Username in the Username field.

  9. Enter Your VPN Password in the Password field.

  10. Tap Save.

  11. A new VPN profile has been added.

  12. Click the VPN profile that has been created.

  13. Check the Save account information checkbox.

  14. Click Connect.

  15. The VPN has been connected.

VPN_2FA_Configuration_Guide.pdf (1.5 MB)