Port forwarding: how to set up virtual server on TP-Link wireless router?
Archer C1200 , Archer C5400 , Archer C4 , Archer C5 , Archer AX10 , Archer C2 , Archer AX96 , Archer C6U , TL-WR940N( V5 V6 ) , Archer C80 , Archer AXE95 , Archer C8 , Archer AX10000 , Archer C9 , Archer C6 , Archer C7 , Archer AX90 , TL-WR843N( V3 ) , Archer C5400X , Archer A20 , Archer C60 , Archer A1200 , Archer C64 , TL-WR844N( V1 ) , Archer C59 , Archer C58 , Archer AX4200 , Archer C3200 , Archer A2 , Archer AX75 , Archer AX73 , Archer A10 , Archer C50 , Archer C55 , Archer C54 , TL-WR841N( V12 V13 V14 ) , Archer AXE75 , Archer A6 , Archer A7 , Archer AX72 , Archer A5 , Archer A8 , Archer A9 , Archer AX68 , Archer AX5300 , Archer C4000 , Archer AXE300 , Archer AX1500 , Archer AX60 , Archer AX3000 , Archer A2600 , Archer AX55 , Archer C5200 , Archer AX53 , Archer AX51 , Archer C5 V4 , Archer A2200 , Archer C5 W , Archer C3150 , Archer AX50 , Archer AX6000 , Archer C25 , Archer C24 , Archer A64 , Archer C2600 , Archer C21 , Archer C20 , TL-WR840N( V3 V4 V5 V6 ) , Archer A10 Pro , Archer AX1800 , TL-WR945N( V1 ) , Archer AX206 , Archer C900 , Archer AX4400 , Archer C3000 , Archer C50
Recent updates may have expanded access to feature(s) discussed in this FAQ. Visit your product's support page, select the correct hardware version for your device and check either the Datasheet or the firmware section for the latest improvements added to your product.
What is Port Forwarding?
Port forwarding is a way of making your router use a specific port to communicate with certain devices. By setting a specific port for your devices, you are telling your router to always accept requests for those ports and forward data to a device’s private IP address.
In order to understand port forwarding, it helps to understand a little about how routers work first. Your router’s job is to transmit an internet signal to all your devices over a local area network (LAN). To do this, your router assigns each device in your LAN its own local IP address. For example, your computer will have a private IP address like 192.168.0.2 or 10.0.0.2
Then, on top of that, the applications and services on each device are also assigned a port number. For example, an application on your computer will have an IP address with a port number attached like 192.168.0.2:80 or 10.0.0.2:80.
With this unique IP address and port number, your router knows which program or service to send information to. This lets you and others access devices and programs on your LAN over a wide area network (WAN).
Please follow the steps based on your model and web UI to forward ports on your router.
Case 1: For TL-WR840N, TL-WR940N, Archer C20, Archer C50, etc.
I want to:
Share my personal website I’ve built in a local network with my friends through the internet.
For example, the personal website has been built on my home PC (192.168.0.106). I hope that my friends on the internet can visit my website in some way and the port number is 90. The PC is connected to the router with the WAN IP address 218.18.232.154.
Step 1 Log in to the router’s web management page:
How do I log into the web-based Utility (Management Page) of TP-Link wireless router?
Step 2
Click Forwarding->Virtual Servers on the left side, and then click Add New button.
Step 3 In the Service section of this screen, type in the detailed information you confirmed with the service’s provider. For this example, if you want to open port 90 for only one of your devices 192.168.0.106, you can configure it like below:
Service Port: Select the service you want to use from the Common Service Port list. If the Common Service Port menu does not list the service that you want to use, you can keep it default.
Service Port and Internal Port: Select the service you want to use from the Service Port list, then the Service Port and Internal Port will be automatically filled in. If the Common Service Port menu does not list the service that you want to use, you can enter the Service Port and Internal Port manually. You should verify the port number that the service needs.
**Note:
- If you need to input a port range xx-xx when configuring the port forwarding, please leave the internal port empty.
- The Service Port and Internal Port usually can be the same.
IP Address: Specify the IP address of the device you are opening the port for.
Protocol: Specify the protocol used for this application from the pull-down list, if you are not sure, choose ALL.
Status: Select the Enabled option in the Status pull-down list.
Step 4 Click the Save button to save the settings.
Note: To ensure the Virtual Server entry will take effect all the time. You´d better assign a static IP address for your server, because its IP address may change when using the DHCP function. Or you can just do an IP address reservation for the server. Please refer to the following link to do that:
How to configure Address Reservation on TP-Link wireless router(new logo)?
Step 5 Go to the Status page and check the WAN IP Address of the router. Now you can try to use the http:// WAN IP:port number (in this example: http:// 218.18.232.154:90) to visit your personal website
If the WAN IP Address of the router is not a public IP Address, but a Private IP Address, that means there is another NAT device connected to the WAN port of the TP-Link router, you need to open the service ports on that device as well.
Note: For the CG-NAT ISP: Comporium and Direct link - radio service, provide the customer a private IP, that will cause you can’t use the OpenVPN or port forwarding and affect the NAT Type. You can contact the ISP and ask them to offer a Static IP address.
For how to find out the IP Address is a public one or a private one, please refer to this link:
http://en.wikipedia.org/wiki/Private_network
Note:
A) If you want to open port 80 for a local device, please change the router’s remote management port (service port) number first since its default number is 80. As for the internal port, 80 is reserved for the local management and cannot be modified although the remote management port has changed.
Go to Security->Remote Management, and then change the Web Management Port to other ports such as 8080 and Save.
B) Some models support different Service Ports and Internal ports. Here we will explain this configuration under different situations.
For example, if you want to open port 90 for only one of your devices 192.168.0.106, you can configure it like the instruction above.
If you have two or more devices (192.168.0.106 &192.168.0.103 in this example) want the same port to be opened for a certain service, then you will have to use different Service Ports.
For the Internal Port, please put in the actual port number (90 in this example), then create different Service port numbers for the two devices (like 9000 and 9001 in this example).
After this configuration, you can access the two devices using different Service Ports. In this case, you can use 218.18.232.154:9000 to access 192.168.0.106 and 218.18.232.154:9001 to access 192.168.0.103.
Case 2: For Archer A9, Archer C7, Archer AX10, Archer AX6000, etc.
I want to:
Share my personal website I’ve built in a local network with my friends through the internet.
For example, the personal website has been built on my home PC (192.168.0.106). I hope that my friends on the internet can visit my website in some way and the port number is 90. The PC is connected to the router with the WAN IP address 218.18.232.154.
Step 1 Log into the router’s web management page:
How do I log into the web-based Utility (Management Page) of TP-Link wireless router?
Step 2
Click on Advanced->NAT Forwarding->Virtual Server, then click Add button.
Step 3 In the Service section of this screen, type in the detailed information you confirmed with the service’s provider. For this example, if you want to open port 90 for only one of your devices 192.168.0.106, you can configure it like below:
Service Type: Select the service you want to use from the View Existing Services list. If the View Existing Services menu does not list the service that you want to use, you can enter the Service Type manually.
External Port and Internal Port: Select the service you want to use from the View Existing Services list, then the External Port and Internal Port will be automatically filled in. If the View Existing Services menu does not list the service that you want to use, you can enter the External Port and Internal Port manually. You should verify the port number that the service needs.
**Note:
1. If you need to input a port range xx-xx when configuring the port forwarding, please leave the internal port empty.
2. The External Port and Internal Port usually can be the same.
Internal IP: Specify the IP address of the device you are opening the port for.
Protocol: Specify the protocol used for this application from the pull-down list, if you are not sure, choose ALL.
Step 4 Click the Save button to save the settings.
Note: To ensure the Virtual Server entry will take effect all the time. You´d better assign a static IP address for your server, because its IP address may change when using the DHCP function. Or you can just do an IP address reservation for the server. Please refer to the following link to do that:
How to configure Address Reservation on TP-Link wireless router(new logo)?
Step 5 Go to Advanced->Status page and check the WAN IP Address of the router. Now you can try to use the http:// WAN IP: port number (in this example: http:// 218.18.232.154:90) to visit your personal website.
If the WAN IP Address of the router is not a public IP Address, but a Private IP Address, that means there is another NAT device connected to the WAN port of the TP-Link router, you need to open the service ports on that device as well.
Note: For the CG-NAT ISP: Comporium and Direct link - radio service, provide the customer a private IP, that will cause you can’t use the OpenVPN or port forwarding and affect the NAT Type. You can contact the ISP and ask them to offer a Static IP address.
For how to find out the IP Address is a public one or a private one, please refer to this link:
http://en.wikipedia.org/wiki/Private_network
Note:
A) If you want to open port 80 for a local device, please change the router’s remote management port number first since its default number is 80. As for the internal port, 80 is reserved for the local management and cannot be modified although the remote management port has changed.
Go to Advanced->System Tools->Administration, and then change the HTTP Port to other ports such as 8080 and Save.
B) Some models support different External Ports and Internal ports. Here we will explain this configuration under different situations.
For example, if you want to open port 90 for only one of your devices 192.168.0.106, you can configure it like the instruction above.
If you have two or more devices (192.168.0.106 &192.168.0.103 in this example) want the same port to be opened for a certain service, then you will have to use different External Ports
For the Internal Port, please put in the actual port number (90 in this example), then create different Service port numbers for the two devices (like 9000 and 9001 in this example).
After this configuration, you can access the two devices using different External ports. In this case, you can use 218.18.232.154:9000 to access 192.168.0.106 and 218.18.232.154:9001 to access 192.168.0.103.
Case 3: For Archer A8, Archer AX55, Archer AX90, Archer AX11000, etc.
I want to:
Share my personal website I’ve built in a local network with my friends through the internet.
For example, the personal website has been built on my home PC (192.168.0.106). I hope that my friends on the internet can visit my website in some way and the port number is 90. The PC is connected to the router with the WAN IP address 218.18.232.154.
Step 1 Log in to the router’s web management page:
How do I log into the web-based Utility (Management Page) of TP-Link wireless router?
Step 2
Click on Advanced->NAT Forwarding->Port Forwarding, then click Add button.
Step 3 In the Service section of this screen, type in the detailed information you confirmed with the service’s provider. For this example, if you want to open port 90 for only one of your devices 192.168.0.106, you can configure it like below:
Service Name: Select the service you want to use from the View Common Service list. If the View Common Service menu does not list the service that you want to use, you can enter the Service Name manually.
External Port and Internal Port: Select the service you want to use from the View Common Service list, then the External Port and Internal Port will be automatically filled in. If the View Common Service menu does not list the service that you want to use, you can enter the External Port and Internal Port manually. You should verify the port number that the service needs.
**Note:
1. If you need to input a port range xx-xx when configuring the port forwarding, please leave the internal port empty.
2. The External Port and Internal Port usually can be the same.
Device IP Address: Select the device from the VIEW CONNECTED DEVICES menu. The Device IP Address will be automatically filled in. Or enter the device’s IP address manually in the Device IP Address field.
Protocol: Specify the protocol used for this application from the pull-down list, if you are not sure, choose ALL.
Step 4 Click the Save button to save the settings.
Note: To ensure the Port Forwarding will take effect all the time. You´d better assign a static IP address for your server, because its IP address may change when using the DHCP function. Or you can just do an IP address reservation for the server. Please refer to the following link to do that:
How to configure Address Reservation on TP-Link wireless router(new logo)?
Step 5 Go to Advanced->Network->Status page and check the WAN IP Address of the router. Now you can try to use the http:// WAN IP:port number (in this example: http:// 218.18.232.154:90) to visit your personal website.
If the WAN IP Address of the router is not a public IP Address, but a Private IP Address, that means there is another NAT device connected to the WAN port of the TP-Link router, you need to open the service ports on that device as well.
Note: For the CG-NAT ISP: Comporium and Direct link - radio service, provide the customer a private IP, that will cause you can’t use the OpenVPN or port forwarding and affect the NAT Type. You can contact the ISP and ask them to offer a Static IP address.
For how to find out the IP Address is a public one or a private one, please refer to this link:
http://en.wikipedia.org/wiki/Private_network
Note:
A) If you want to open port 80 for a local device, please change the router’s remote management port (service port) number first since its default number is 80. As for the internal port, 80 is reserved for the local management and cannot be modified although the remote management port has changed.
Go to Advanced->System Tools->Administration, and then change the HTTP Port to other ports such as 8080 and Save.
B) Some models support different External ports and Internal ports. Here we will explain this configuration under different situations.
For example, if you want to open port 90 for only one of your devices 192.168.0.106, you can configure it like the instruction above.
If you have two or more devices (192.168.0.106 &192.168.0.103 in this example) want the same port to be opened for a certain service, then you will have to use different External Ports.
For the Internal Port, please put in the actual port number (90 in this example), then create different Service port numbers for the two devices (like 9000 and 9001 in this example).
After this configuration, you can access the two devices using different External ports (Service Ports). In this case, you can use WAN IP:9000 to access 192.168.0.106 and WAN IP:9001 to access 192.168.0.103.
If port forwarding fails after you have done all the configurations above, please refer to this link for further troubleshooting: Why port forwarding feature is not working on my router?
To get to know more details of each function and configuration please go to Download Center to download the manual of your product.
Related FAQs
Is this faq useful?
Your feedback helps improve this site.
What’s your concern with this article?
- Dissatisfied with product
- Too Complicated
- Confusing Title
- Does not apply to me
- Too Vague
- Other
We'd love to get your feedback, please let us know how we can improve this content.
Thank you
We appreciate your feedback.
Click here to contact TP-Link technical support.
TP-Link Community
Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy . Don’t show again
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy . Don’t show again
Basic Cookies
These cookies are necessary for the website to function and cannot be deactivated in your systems.
TP-Link
accepted_local_switcher, tp_privacy_base, tp_privacy_marketing, tp_smb-select-product_scence, tp_smb-select-product_scenceSimple, tp_smb-select-product_userChoice, tp_smb-select-product_userChoiceSimple, tp_smb-select-product_userInfo, tp_smb-select-product_userInfoSimple, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType
Livechat
__livechat, __lc2_cid, __lc2_cst, __lc_cid, __lc_cst, CASID
Youtube
id, VISITOR_INFO1_LIVE, LOGIN_INFO, SIDCC, SAPISID, APISID, SSID, SID, YSC, __Secure-1PSID, __Secure-1PAPISID, __Secure-1PSIDCC, __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDCC, 1P_JAR, AEC, NID, OTZ
Analysis and Marketing Cookies
Analysis cookies enable us to analyze your activities on our website in order to improve and adapt the functionality of our website.
The marketing cookies can be set through our website by our advertising partners in order to create a profile of your interests and to show you relevant advertisements on other websites.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au
Meta Pixel
_fbp
Crazy Egg
cebsp_, _ce.s, _ce.clock_data, _ce.clock_event, cebs
Hotjar
OptanonConsent, _sctr, _cs_s, _hjFirstSeen, _hjAbsoluteSessionInProgress, _hjSessionUser_14, _fbp, ajs_anonymous_id, _hjSessionUser_<hotjar-id>, _uetsid, _schn, _uetvid, NEXT_LOCALE, _hjSession_14, _hjid, _cs_c, _scid, _hjAbsoluteSessionInProgress, _cs_id, _gcl_au, _ga, _gid, _hjIncludedInPageviewSample, _hjSession_<hotjar-id>, _hjIncludedInSessionSample_<hotjar-id>
lidc, AnalyticsSyncHistory, UserMatchHistory, bcookie, li_sugr, ln_or