How to Establish a VPN Connection on TP-Link Wi-Fi Router?

Configuration Guide
Updated 11-19-2021 03:07:48 AM 16221
This Article Applies to: 

In general, TP-Link Wi-Fi Router has three scenarios for VPN function, including working as a VPN Server, connecting to remote VPN server as a VPN Client and supporting VPN Pass-through. Now this article will summarize and introduce these scenarios respectively.

 

Case 1: Working as a PPTP VPN Server

PPTP VPN Server is used to create a VPN connection for remote device. To use the VPN feature, you should enable PPTP VPN Server on your router, and configure the PPTP connection on the remote device. Please follow the steps below to set up a PPTP VPN connection.

Step 1. Set up PPTP VPN Server on Your Router

1. Log in to the web-based interface of the router. If you don’t know how to do that, please refer to How do I log into the web-based Utility (Management Page) of TP-Link wireless router?

2. Go to Advanced VPN Server > PPTP VPN, and select Enable VPN Server.

https://static.tp-link.com/image001_1490603648399r.png

Note: Before you enable VPN Server, we recommend you configure Dynamic DNS Service (recommended) or assign a static IP address for router’s WAN port and synchronize your System Time with internet.

3. In the Client IP Address filed, enter the range of IP addresses (up to 10) that can be leased to the devices by the PPTP VPN server.

4. Click Advanced to set the PPTP connection permission according to your needs.

• Select Allow Samba (Network Place) access to allow your VPN device to access your local Samba server.

• Select Allow NetBIOS passthrough to allow your VPN device to access your Samba server using NetBIOS name.

• Select Allow Unencrypted connections to allow unencrypted connections to your VPN server.

5. Click Save.

6. Configure the PPTP VPN connection account for the remote device, you can create up to 16 accounts.

https://static.tp-link.com/image002_1490603667681j.png

1) Click Add.

2) Enter the Username and Password to authenticate devices to the PPTP VPN Server.

3) Click OK.

Step 2. Configure PPTP VPN Connection on Your Remote Device

The remote device can use the Windows built-in PPTP software or a third-party PPTP software to connect to 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.

https://static.tp-link.com/image003_1490603683347s.png

3. Select Connect to a workplace and click Next.

4. Select Use my Internet connection (VPN).

https://static.tp-link.com/image004_1490603692401v.png

5. Enter the internet IP address of the router (for example: 218.18.1.73) in the Internet address field. Click Next.

https://static.tp-link.com/image005_1490603700247m.png

6. Enter the User name and Password you have set for the PPTP VPN server on your router, and click Connect.

https://static.tp-link.com/image006_1490603709102j.png

7. The PPTP VPN connection is created and ready to use.

https://static.tp-link.com/image007_1490603724472f.png

 

Case 2. Working as an OpenVPN Server

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.

https://static.tp-link.com/image001_1490603187539o.png

 

Step1. Set up OpenVPN Server on Your Router

1. Log in to the web-based interface of the router. If you don’t know how to do that, please refer to How do I log into the web-based Utility (Management Page) of TP-Link wireless router?

2. Go to Advanced > VPN Server > OpenVPN, and select Enable VPN Server.

https://static.tp-link.com/image002_1490603208067l.png

Note: Before you enable VPN Server, we recommend you configure Dynamic DNS Service (recommended) or assign a static IP address for router’s WAN port and synchronize your System Time with internet. The first time you configure the OpenVPN Server, you may need to Generate a certificate before you enable the VPN Server.

3. Select the Service Type (communication protocol) for OpenVPN Server: UDP, TCP.

4. Enter a VPN Service Port to which a VPN device connects, and the port number should be between 1024 and 65535.

5. In the VPN Subnet/Netmask fields, enter the range of IP addresses that can be leased to the device by the OpenVPN server.

6. 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 internet through the VPN Server.

7. Click Save.

8. Click Generate to get a new certificate.

https://static.tp-link.com/image003_1490603231383e.png

Note: If you have already generated one, please skip this step, or click Generate to update the certificate.

9. Click Export to save the OpenVPN configuration file which will be used by the remote device to access your router.

https://static.tp-link.com/image004_1490603254461i.png

Step 2. Configure OpenVPN Connection on Your Remote Device

1. Visit http://openvpn.net/index.php/download/community-downloads.html to download the OpenVPN software, and install it on your device where you want to run the OpenVPN client utility.

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

2. 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.

3. Run the OpenVPN client utility and connect it to OpenVPN Server.

 

Case 3. Connecting to the remote VPN server as a VPN Client(Only for the router that supports the VPN client feature)

Case 4. Connecting to the remote VPN server as a VPN Client.

 Note: our routers support PPTP/L2TP client, but can only support those VPN servers whose data are not encrypted.  Some ISPs provide PPTP/L2TP connection. So you can use PPTP/L2TP client connect to it.

1. Login management page of the router and go to Advanced -> Network -> Internet.

2. Choose PPTP as Internet Connection Type.

https://static.tp-link.com/image001_1506565802625s.jpg

3. Input the correct Username and Password.

https://static.tp-link.com/image002_1506565857846l.jpg

4. Input the correct VPN Server IP/Domain Name. (For example 219.76.10.41, or if your VPN Server is a domain name, you can input the domain name.)

https://static.tp-link.com/image003_1506565623279a.jpg

5. Please click Save and then Connect.

https://static.tp-link.com/image004_1506565875017b.jpg

 

 

 

To get to know more details of each function and configuration please go to Download Center to download the manual of your product.

Is this faq useful?

Your feedback helps improve this site.

Recommend Products

Setup Videos

How to Set up OpenVPN on TP-Link Routers Windows

How to setup PPTP VPN on TP Link routers Windows

SubscriptionTP-Link takes your privacy seriously. For further details on TP-Link's privacy practices, see TP-Link's Privacy Policy.

From United States?

Get products, events and services for your region.