Configuring Port Forwarding
When you create a server on your local network and want to share it on the Internet, Port Forwarding can give the ability to have your server accessed remotely. At the same time, Port Forwarding can keep your local network safe as other services are still invisible from the Internet.
Port Forwarding can be used for setting up public services in your local network, such as HTTP, FTP, DNS, POP3/SMTP, and Telnet. Different services use different service ports. Port 80 is used in HTTP service, port 21 in FTP service, port 25 in SMTP service, and port 110 in POP3 service. Please verify the service port number before the configuration.
Below is an example of wanting to share a personal website that has been built in the local network so it can be accessed from the internet.
The IP address of the server is (192.168.1.100) and is connected to the modem/router (Archer CR700) with the WAN IP address of 218.18.232.154.
How that is done
1. Assign a static IP address to your PC, for example, 192.168.1.100.
2. Log in to the web-based management interface of the cable modem router. If you don’t know how to do that, please refer to How to log into the web-based management interface of TP-Link cable modem routers(new logo)?
3. Go to Advanced > NAT Forwarding > Port Forwarding, click Add.
4. Enter the service you want to use in the Service Name field. Here we take HTTP as an example.
5. Enter the External Port, Internal Port, and select the corresponding Protocol as shown in the above picture.
6. Enter the PC’s IP address 192.168.1.100 in the Internal IP field.
7. Select Enable this Entry.
8. Click OK to save the settings.
Tips:
1. You should verify the port number that the service needs.
2. You can add multiple port forwarding rules if you want to provide several services in a modem router. Please note that the External Port cannot be overlapped.
Done!
Users on the Internet can enter http:// WAN IP: External Port (in this example: http:// 218.18.232.154:80) to visit your server.
Tips:
WAN IP should be a public IP address. For the WAN IP is assigned dynamically by ISP, it is recommended to apply and register a domain name for the WAN by DDNS. Then you can use http:// domain name: External Port to visit the server.