How to set up Port Forwarding on the Main router when VPN Server is set on the TP-Link Router and Deco
Introduction
This FAQ article provides customers with guidance on ensuring the proper functioning of VPN servers by setting up port forwarding on the main router when the TP-Link router's WAN IP is a private network IP.
Requirements
- The VPN server has been set up on the TP-Link router.
- The main router has a public WAN IP address, and you can manage the main router.
Configuration
Take the following figure as an example: VPN Server is enabled on the TP-Link router. The main router’s WAN IP address is 1.100.X.X, and the TP-Link router’s WAN IP is 192.168.1.99.
Step 1: Log in to the main router's web management page.
Step 2: Go to the Port Forwarding function page of the main router and set the port forwarding according to the following parameters.
Note: It’s suggested to contact your main router’s support, as the settings of the router vary by brand.
Device IP Address: Enter 192.168.1.99 (TP-Link router's WAN IP address).
External Port, Internal Port, and Protocol: please refer to the table below.
VPN Server |
Internal Port |
External Port |
OpenVPN |
1194 (ALL) |
1194 (ALL) |
WireGuard |
51820 (UDP) |
51820 (UDP) |
L2TP/IPSec |
4500 (UDP), 500 (UDP) |
4500 (UDP), 500 (UDP) |
PPTP |
1723 (TCP), 47 (ALL) |
1723 (TCP), 47 (ALL) |
Step 3: Connect to the VPN Server. On your VPN client software (on a phone or computer), enter the main router’s WAN IP address (1.100.X.X) in the VPN server address field.
The images below display the key steps of this process using apps such as WireGuard and OpenVPN.
For WireGuard:
For OpenVPN, before you import the OpenVPN configuration file into the OpenVPN client APP, you may open the file in a text editor and replace the IP address under the "remote" with the WAN IP address of the main router.
Get to know more details of each function and configuration please go to Download Center to download the manual of your product.
해당 FAQ가 유용했나요?
여러분의 의견은 사이트 개선을 위해 소중하게 사용됩니다.