How to set up a VPN Server or VPN Client on your TL-WR1502X Travel Router

Configuration Guide
Updated 07-29-2024 23:48:09 PM FAQ view icon7423
This Article Applies to: 

The TL-WR1502X Travel Router supports functionality for both VPN Server and VPN Client configurations, enabling it to meet all your VPN service needs.

By setting up a VPN server on your router, your connections to the router will become invisible to the internet, helping you access internet resources remotely, securely, and privately. If you set up a VPN Client on your router, all of its connected devices can enjoy the VPN services without installing VPN client software on each device.

VPN Server allows remote devices to access your home network securely through the internet. The router supports four types of VPN Server:

  • OpenVPN is somewhat complex but has higher security and more stability, making it suitable for restricted environments such as campus networks and company intranets.
  • PPTP VPN is easy to use with the built-in VPN software of computers and mobile devices, but it is vulnerable and may be blocked by some ISPs.
  • L2TP/IPSec VPN is more secure but slower than PPTP VPN and may have trouble getting around firewalls.
  • WireGuard VPN is a secure, fast, and modern VPN protocol. It is based on the UDP protocol and uses modern encryption algorithms to improve work efficiency.

VPN Client allows devices in your home network to access remote VPN servers without installing VPN software on each device.

Follow the steps below to set up your VPN Server on your TL-WR1502X Travel Router.

Use OpenVPN to Access Your Home Network

In the OpenVPN connection, the home network can act as a server, and the remote device can access the server through the router, which acts as an OpenVPN Server gateway.

To use the VPN feature, you should enable OpenVPN Server on your router and install and run VPN client software on the remote device. Please follow the steps below to set up an OpenVPN connection.

  1. Visit http://tplinkwifi.net and log in with your TP-Link ID or the password you set for the router.
  2. Go to Advanced > VPN Server > OpenVPN and tick the Enable box for OpenVPN.

  1. Enter the necessary information and save the settings.

  • Service Type: Select the service type (communication protocol) for OpenVPN: UDP/TCP.
  • Service Port: Enter a VPN service port to which a VPN device connects. The port number should be between 1024 and 65535.
  • VPN Subnet/Netmask: Enter the range of IP addresses that can be leased to the device by the OpenVPN server.
  • Client Access: Select your client access type. Select Home Network Only if you only want the remote device to access your home network. Select Internet and Home Network if you also want the remote device to access the Internet through the VPN server.
  1. Click GENERATE to get a new certificate.

  1. Click EXPORT to save the OpenVPN configuration file, which the remote device will use to access your router.

  1. Click SAVE.
  2. Now, you must configure your remote device's OpenVPN connection.
  1. Visit https://openvpn.net/community-downloads/ to download the OpenVPN software and install it on your device where you want to run the OpenVPN client utility.

Note: You must install the OpenVPN client utility on each device on which you plan to apply the VPN function to access your travel router. Mobile devices should download a third-party app from Google Play or Apple App Store.

  1. After the installation, copy the file exported from your router to the OpenVPN client utility’s “config” folder (for example, C:\Program Files\OpenVPN\config on Windows). The path depends on where the OpenVPN client utility is installed.
  2. Run the OpenVPN client utility and connect it to OpenVPN Server.

Use PPTP VPN to Access Your Home Network

PPTP VPN Server creates a PPTP VPN connection for remote devices to access your home network.

To use the VPN feature, you must set up a PPTP VPN Server on your router and configure the PPTP connection on remote devices.

Please follow the steps below to set up a PPTP VPN connection.

  1. Visit http://tplinkwifi.net and log in with your TP-Link ID or the password you set for the router.
  2. Go to Advanced > VPN Server > PPTP, and tick the Enable box of PPTP.

  1. Enter the necessary information and save the settings.

  • Client IP Address: Enter the range of IP addresses (up to 10) that can be leased to the devices by the PPTP VPN server.
  • Allow NetBIOS passthrough: Enable it to allow your VPN device to access your Samba server using the NetBIOS name.
  • Allow unencrypted connections: Enable it to allow unencrypted connections to your VPN server.
  • Account List: Add the remote device's PPTP VPN connection account (user name and password). You can create up to 16 accounts.

  1. Now, you must configure your remote device's PPTP VPN. The remote device can use the Windows built-in PPTP software or a third-party PPTP software to connect to the PPTP server. Here, we use the Windows built-in PPTP software as an example.
  1. Go to Start > Control Panel > Network and Internet > Network and Sharing Center.
  2. Select Set up a new connection or network.

  1. Select Connect to a workplace and click Next.

  1. Select Use my Internet connection (VPN).

  1. Enter the Internet IP address of the router in the Internet address field. Click Create.

  1. Enter the Username and Password you have set for the PPTP VPN server on your router, and click Connect.

  1. Click Connect Now when the VPN connection is ready to use.

Use L2TP/IPSec VPN to Access Your Home Network

L2TP/IPSec VPN Server creates an L2TP/IPSec VPN connection for remote devices to access your home network.

To use the VPN feature, you must set up an L2TP/IPSec VPN Server on your router and configure the L2TP/IPSec connection on remote devices.

Please follow the steps below to set up the L2TP/IPSec VPN connection.

  1. Visit http://tplinkwifi.net and log in with your TP-Link ID or the password you set for the router.
  2. Go to Advanced > VPN Server > L2TP/IPSec, and tick the Enable box of L2TP/IPSec.

  1. Enter the necessary information and save the settings.

  • Client IP Address: Enter the range of IP addresses (up to 10) that can be leased to the devices by the L2TP/IPSec VPN server.
  • IPSec Encryption/ IPSec Pre-Shared Key: Keep IPSec Encryption as Encrypted and create an IPSec Pre-Shared Key.
  • Account List: Add the remote device's L2TP/IPSec VPN connection account (user name and password). You can create up to 16 accounts.

  1. Now, you need to configure L2TP/IPSec on your remote device. The remote device can use the Windows or Mac OS built-in L2TP/IPSec software or a third-party L2TP/IPSec software to connect to the L2TP/IPSec Server. Here, we use the Windows built-in L2TP/IPSec software as an example.
  1. Go to Start > Control Panel > Network and Internet > Network and Sharing Center.
  2. Select Set up a new connection or network.

  1. Select Connect to a workplace and click Next.

  1. Select Use my Internet connection (VPN).

  1. Enter the Internet IP address of the router in the Internet address field. Select Don’t connect now; just set it up so I can connect later. Then click Next.

  1. Enter the User name and Password you have set for the L2TP/IPSec VPN server on your router, and click Connect.

  1. Click Close when the VPN connection is ready to use.

  1. Go to Network and Sharing Center and click Change Adapter Settings.

  1. Find the VPN connection you created, then double-click it.

  1. Enter the Username and Password you have set for the L2TP/IPSec VPN server on your router, and click Properties.

  1. Switch to the Security tab, select Layer 2 Tunneling Protocol with IPsec (L2TP/IPSec) and click Advanced settings.

  1. Select Use preshared key for authentication and enter the IPSec Pre-Shared Key you have set for your router's L2TP/IPSec VPN server. Then click OK.

Done! Click Connect to start a VPN connection.

Use WireGuard to Access Your Home Network

WireGuard VPN Server creates a Wired VPN connection for remote devices to access your home network.

  1. Visit http://tplinkwifi.net and log in with your TP-Link ID or the password you set for the router.
  2. Go to Advanced > VPN Server > WireGuard, and tick the Enable box of WireGuard.

  1. View the default WireGuard VPN settings, as shown above. The parameters are automatically filled in; do not change them unless necessary.

  • Client Access: Select your client access type. Select Home Network Only if you only want the remote device to access your home network. Select Internet and Home Network if you also wish to the remote device to access the Internet through the VPN server.
  • (Optional) Click Advanced Settings to display more settings. If DNS is turned on, the router will become the DNS server of the VPN client that establishes a connection with it. Change the Persistent Keepalive time (25 seconds by default) to send out a heartbeat regularly; you can also click RENEW KEY to update the private and public keys.
  1. In Account List, click Add to create an account.

  • Username: Give a name to this account.
  • Address: Enter the virtual interface address assigned to this account. Do NOT change it unless necessary.
  • Allowed IPs (client): Traffic sent from the WireGard VPN client to the allowed IPs (client) will be transmitted through the tunnel. By default, all client network traffic will be transmitted through the tunnel. Do NOT change it unless necessary.
  • Allowed IPs (server): Traffic sent from the WireGard VPN server to the allowed IPs (server) will be transmitted through the tunnel. Do NOT change it unless necessary.
  • Pre-shared key: Enable or disable pre-shared key.
  1. Click SAVE, then a window pops up as below.

  1. Done. Now connect to the WireGuard server.
  • For mobile phones, download the WireGuard App from Google Play or Apple Store, then use the App to scan the QR Code to connect to this server.
  • For other devices (e.g., TP-Link WireGuard VPN client), Click EXPORT to save the WireGuard VPN configuration file, which will be used by the remote device to access your router.

Use a VPN Client to Access a Remote VPN Server

VPN Client creates VPN connections for devices in your home network to access a remote VPN server.

To use the VPN feature, simply configure a VPN connection and choose the devices you want on your Deco router. Then, these devices can access the remote VPN server. Please follow the steps below:

  1. Visit http://tplinkwifi.net and log in with your TP-Link ID or the password you set for the router.
  2. Go to Advanced > VPN Client and enable it.

  1. Add VPN servers in the Server List and enable the one you need.

    1. In the Server List section, click Add.
    2. Specify a description for the VPN, and choose the VPN type.
    3. Enter the VPN information provided by your VPN provider.
  • OpenVPN: Enter the VPN username and password if required by your VPN provider; otherwise, leave them empty. Then, import the configuration file provided by your VPN provider. 

You can also select Import the CA file or edit the. ovpn file manually, then upload the CA file or manually configure the settings. 

  • PPTP: Enter the VPN server address (for example: 218.18.1.73) and the VPN username and password provided by your VPN provider.

  • L2TP/IPSec VPN: Enter the VPN server address (for example: 218.18.1.73), VPN username and password, and IPSec pre-shared key provided by your VPN provider.

  • WireGuard VPN: Give a description, and click BROWSE to import the WireGuard VPN server configuration. Then, you will see the detailed parameters. Do NOT change the parameters unless necessary.

    1. Save the settings.
    2. Specify a description for the VPN, and choose the VPN type.

Enter t

  1. In the Device List, add VPN clients that will access your configured VPN server.

Done! Now, the devices you specified can access the VPN server you enabled.

To learn more about each function and configuration, please go to the Download Center to download the manual of your product.

 

Is this faq useful?

Your feedback helps improve this site.

Recommend Products

Community

TP-Link Community

Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.

Visit the Community >