Port Mapping Help documentation

Source: Internet
Author: User

What is port mapping?

Port mapping is also known as Port forwarding, and some are called NAT, virtual server. The port mapping process is like your home in a Community B building room 2410, your friend came to you, find the door of the community, do not know which floor you live? Ask the Gatekeeper security guard, the security very polite told him your home detailed house number, so your friend very easy to find your home. This process is the external network access to the network through the port map of the image.

Why do you want to do port mapping?

There are 2 main types of network access:

1) ADSL connection to the cat directly connected to the host, this situation host is directly ADSL broadband dial, connected to the Internet through the run CMD Execution ipconfig/all command can see, PPP dial-up connection obtained is a public network IP address, This type of network is not required to do port mapping (1)

Figure 1

2) ADSL through the router to dial, the host through the router to share the Internet, in this case the host gets to usually a 192.168.x.x type of private (LAN) Intranet IP address, 2:

Figure 2

In such cases, it is necessary to do port mapping on the router, forwarding the port to the corresponding server.

How to set up port mappings:

To do port mapping, you need to understand the number of ports the service program needs to map, and the following list the default service port numbers that some services need to map

website tcp:80 FTP tcp:21 (control port) housekeeper financial software tcp:211 tcp:80 tcp:1433 Conway video DVR tcp:80 (Web port) tcp:8000 (number of videos Data port)

Dahua DVR tcp:80 (Web port) tcp:37777 (video data port) Mail Service smtp:tcp25 pop3:tcp110 MSSQL database tcp:1433 video capture card The default side used by different manufacturers Different ports, 5050, 8000 9000-9002, 37777, etc.

The following are some of the main brands of the port map router:

1 ) Tp-link routers (in Tp-link R460 as an example)

Intranet ip:192.168.1.101 is a Web server, Tp-link series router default management address is http://192.168.0.1, account admin Password Admin login to the management interface of the router, click the router forwarding rules-Virtual server- Add new entry, 3:

Figure 3

The port mapping settings are as follows: The service port number is filled in 80, if filled with 80-82 represents the mapping 80, 81, 82 port, IP address fill in the intranet Web server IP address 192.168.1.101, the protocol is set to TCP, if the Port protocol type does not understand can be set to select all, On behalf of all (including TCP and UDP), the status must be set to take effect.

Note: The common service port number, which is the function of a help hint, does not need to be selected, then click Save, Map succeeded, 4:

Figure 4

2 ) d -Link routers (in d -Link di624+a as an example)
Intranet 192.168.0.188 is an FTP server, the FTP service port default is 21, you need to map 21 ports on the router to the intranet server, set as follows: Login router, the default management IP address for the 192.168.0.1 Account admin password is empty.

The advanced setting of the router-the virtual server is set up and must first be activated at the top point, and this setting will take effect. Domain Name: Here you can fill in; Personal IP address: Here is the IP address of the intranet server 192.168.0.188; The personal service port and the public service side of these 2 items are set to 21, the schedule is set to any time, finally click Execute, save this setting, 5:

Figure 5

3 ) Lei ke router (in nr205+ as an example)

Intranet 192.168.1.100 is the server of the housekeeper financial software, need to map port 80, 211, 14,333 ports. Login Router selection (the default admin address is admin for 192.168.0.1 account password), select the Virtual service settings in NAT settings. The virtual service name can be customized, the intranet host IP is set to the IP address of the server 192.168.1.100, the protocol is set to TCP, the external port and internal port are set to 211, and the click Add is set. Follow this procedure to continue adding maps 80 ports and 1433 ports, 6:

Figure 6:

4) Tengda Router:

Case 1: You need to map the TCP2006 port to 192.168.0.58, set the method as follows: Login Router Click on the virtual server, the first option is set to enable, the common port does not need to select, the common port is set to 2006,ip address set to 192.168.0.58, the protocol is selected as TCP, after the setting is complete Click the Add button on the back, 7:

Figure 7

Case 2: You need to map the TCP8837 port to 192.168.0.3, set the method as follows: Login Router Click on the virtual server, the first option is set to enable, the common port does not need to select, port fill 8837,ip address is set to 192.168.0.3, the protocol is selected as TCP, and after the setting is complete, click Add later button, 8:

Figure 8

5 ) Huawei MT800 : Login Router (the default management IP is 192.168.1.1 account password is admin), click the other settings in the left menu of the router, and then select the NAT setting option, 9:

Figure 9

Then click Allow in the NAT settings, click the Add button below, go to the Setup interface, 10:

Figure 10

When the rule type is selected as redirect, the Protocol chooses TCP, the local address is filled with the IP address of the local server, the global start termination address does not need to be filled in, the start port and the terminating port are filled with the port number you need to map, and then click Submit, 11

Figure 11

6 ) LINKSYS wrt54g : Login to the management interface of the router, select the Applications&gaming option in the menu, select Port Range Forward from the drop-down menu on the left, and enter the port mapping Setup interface.

Application This is set to map name, custom fill, star and end set the starting port of the map, if you need to map port 6000, in this 2 options are filled with 6000; Protocol set to both or TCP; IP Add the IP address set to the intranet server at the end, tick in the Enable option, and then click Save Settings below for saving the settings, 12:

Figure 12

7 ) Mercury Network router:

Enter the router interface, in the forwarding rule-Virtual server, the service port is set to 8000,ip address set to 192.168.1.150, the protocol selects all or TCP can, tick start. Click Save. 13:

Figure 13

8 ) ip-com Routers

Enter the router interface, in the virtual server-port mapping, WAN port for 211,lan port is 211, common service does not need to set, IP address 192.168.0.111, protocol Select All or TCP can, tick start, add to the list. Figure 14

Port Mapping Help documentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.