Home>Software and Apps>How To Set Up VPN On TP Link Router

How To Set Up VPN On TP Link Router How To Set Up VPN On TP Link Router

Software and Apps

How To Set Up VPN On TP Link Router

Written by: William Sullivan

Learn how to easily set up a VPN on your TP-Link router to secure your internet connection and access geo-restricted software and apps. Follow our step-by-step guide for a hassle-free setup.

(Many of the links in this article redirect to a specific reviewed product. Your purchase of these products through affiliate links helps to generate commission for Techsplurge.com, at no extra cost. Learn more)

Table of Contents

Understanding VPN Basics

Setting up a VPN on a TP-Link router can enhance network security and provide a secure internet connection. Before diving into the configuration process, it's helpful to understand the basics of VPNs.

Types of VPNs

  1. LAN-to-LAN VPN: Connects two or more local area networks (LANs) over the internet. Commonly used by businesses to create secure connections between different office locations.
  2. Client-to-LAN VPN: Connects remote clients to a local area network, allowing remote users to access internal resources securely.

Supported Protocols by TP-Link Routers

TP-Link routers support several VPN protocols, including:

  • IPsec: Widely used for creating secure VPN connections with encryption and authentication.
  • PPTP: Simpler to set up than IPsec but less secure.
  • L2TP: More secure than PPTP but requires additional configuration.

Configuring LAN-to-LAN IPsec VPN

Step 1: Ensure Active Internet Connection

Both routers need an active internet connection for the VPN setup process.

Step 2: Verify VPN Settings

Check the VPN settings on both routers, including IP addresses, subnet masks, and other necessary configurations.

Step 3: Configure IPsec VPN Settings on Router A (TL-ER6120)

  1. Access the Router’s Management Webpage:
    • Open a web browser, type the IP address of Router A (e.g., 192.168.1.1) in the address bar, and log in with admin credentials.
  2. Navigate to IPsec VPN Settings:
    • Go to the VPN section, select IPsec VPN, click on the IKE tab, then click on Add New.
  3. Enter Policy Name:
    • Enter a policy name for the new IPsec policy.
  4. Configure Phase 1 Settings:
    • Select the protocol (e.g., IKEv1 or IKEv2), enter the local and remote IP addresses, set the authentication method (e.g., Pre-shared key), and enter the pre-shared key.
  5. Configure Phase 2 Settings:
    • Select the protocol (e.g., ESP or AH), enter the local and remote IP addresses, set the encryption algorithm and authentication method.
  6. Save and Apply Changes:
    • Click Save, then Apply to save the changes.

Step 4: Configure IPsec VPN Settings on Router B (TL-R600VPN)

  1. Access the Router’s Management Webpage:
    • Open a web browser, type the IP address of Router B (e.g., 192.168.20.1) in the address bar, and log in with admin credentials.
  2. Navigate to IPsec VPN Settings:
    • Go to the VPN section, select IPsec VPN, click on the IKE tab, then click on Add New.
  3. Enter Policy Name:
    • Enter a policy name for the new IPsec policy.
  4. Configure Phase 1 Settings:
    • Select the protocol (e.g., IKEv1 or IKEv2), enter the local and remote IP addresses, set the authentication method (e.g., Pre-shared key), and enter the pre-shared key.
  5. Configure Phase 2 Settings:
    • Select the protocol (e.g., ESP or AH), enter the local and remote IP addresses, set the encryption algorithm and authentication method.
  6. Save and Apply Changes:
    • Click Save, then Apply to save the changes.

Step 5: Check IPsec SA

After configuring both routers, check the IPsec SA (Security Association) to ensure the VPN tunnel is established correctly.

Configuring PPTP Server on TP-Link Router

Step 1: Access the Router’s Management Webpage

  1. Open Web Browser:
    • Open a web browser, type the IP address of your TP-Link router (e.g., 192.168.1.1) in the address bar, and log in with admin credentials.
  2. Navigate to VPN Settings:
    • Go to the VPN section, select L2TP/PPTP.

Step 2: Configure IP Address Pool

  1. Add New IP Address Pool:
    • Click on IP Address Pool under L2TP/PPTP, enter a pool name and IP address range, then click Add to add the new IP address pool.

Step 3: Configure PPTP Server Settings

  1. Select Protocol:
    • Select PPTP as the protocol, set the mode to Server.
  2. Enter Subnet and Mask:
    • Enter the subnet and mask for the PPTP server.
  3. Add New PPTP Account:
    • Click Add under PPTP, enter an account name and password, set the tunnel mode to Client-to-LAN, and set the number of connections allowed (up to 10).
  4. Save and Apply Changes:
    • Click Save, then Apply to save the changes.

Step 4: Verify PPTP Tunnel

After configuring the PPTP server, verify the tunnel list to ensure the PPTP tunnel is established correctly.

Configuring VPN Client on TP-Link Router

Step 1: Access the Router’s Management Webpage

  1. Open Web Browser:
    • Open a web browser, type the IP address of your TP-Link router (e.g., 192.168.1.1) in the address bar, and log in with admin credentials.
  2. Navigate to VPN Settings:
    • Go to the VPN section, select VPN Client.

Step 2: Configure VPN Client Settings

  1. Select VPN Server:
    • Select the VPN server you want to connect to (e.g., NordVPN, ExpressVPN).
  2. Enter Server Details:
    • Enter the server address, username, and password provided by your VPN service provider.
  3. Save and Apply Changes:
    • Click Save, then Apply to save the changes.

Step 3: Verify VPN Connection

After configuring the VPN client, verify the connection to ensure it is established correctly.

Troubleshooting Common Issues

Different Subnets Issue

If VPN clients cannot see the local network because they are on different subnets, configure a static route on your VPN router.

  1. Access the Router’s Management Webpage:
    • Open a web browser, type the IP address of your TP-Link router (e.g., 192.168.1.1) in the address bar, and log in with admin credentials.
  2. Navigate to Advanced Settings:
    • Go to Advanced settings, select Static Route.
  3. Add New Static Route:
    • Click Add under Static Route, enter the destination IP address (e.g., 192.168.1.0), subnet mask (e.g., 255.255.255.0), and next hop IP address (e.g., 192.168.1.100). Select the interface (WAN/LAN) and enable the static route.
  4. Save and Apply Changes:
    • Click Save, then Apply to save the changes.

Multi-Nets NAT Configuration

To configure access to the internet via a proxy gateway, set up Multi-Nets NAT on your VPN router.

  1. Access the Router’s Management Webpage:
    • Open a web browser, type the IP address of your TP-Link router (e.g., 192.168.1.1) in the address bar, and log in with admin credentials.
  2. Navigate to Advanced Settings:
    • Go to Advanced settings, select Transmission > NAT > Multi-Nets NAT.
  3. Add New Multi-Nets NAT Entry:
    • Click Add under Multi-Nets NAT, enter a name for the entry (e.g., VPN), select the interface (WAN1) and source IP range (e.g., 172.16.10.0/24). Enable the Multi-Nets NAT list entry.
  4. Save and Apply Changes:
    • Click Save, then Apply to save the changes.

Setting up a VPN on a TP-Link router can significantly improve network security. By following these steps, you can configure both LAN-to-LAN and client-to-LAN VPNs using IPsec and PPTP protocols. Troubleshooting common issues such as different subnets and configuring Multi-Nets NAT ensures a stable and secure VPN connection. Enjoy a secure and private internet connection using your TP-Link router.

Was this page helpful?

Related Post