How to Set router port ing

Source: Internet
Author: User


You can set the ing between router port ing and port ing, which is a common form of NAT address translation. Its function is to convert public addresses into private addresses, A route-based ADSL Broadband Router has a dynamic or fixed public IP address. ADSL is directly connected to the HUB or vswitch, and all computers share the internet. At this time, there is only one external address for ADSL, such as 61.177.0.7. The internal IP address is a private address. For example, if ADSL is set to 192.168.0.1, the following computers are set to 192.168.0.2 to 192.168.0.254 in sequence.
How can I implement the NAT Function on a Broadband Router? Generally, the vro can use the virtual server setting and the open Host (DMZ Host ). Generally, users can define different ports for providing services as needed, while the open host is for IP addresses. The firewall function is disabled to directly map a single IP address of the LAN to an external IP address, instead of the number of ports, this method only supports one internal computer. The most common port ing for www.2cto.com is that internal private IP addresses are used on servers on the network. However, many netizens hope to use port ing to view these server addresses on the Internet, here, we need to figure out the port number of the service used. For example, the HTTP service is 80, and the FTP service is Port 20 and port 21. Www.2cto.com here we use the most common port 80 as an example to set a virtual HTTP server. Assume that the internal HTTP Server IP address is 10.0.0.10.
Step 1, enter http: // 10.0.0.2 in the browser, go to other configuration page, modify the HASB-100 itself HTTP service port, do not close, because usually use WEB Settings HASB-100, change the HTTP server port to 81. Submit and restart. Step 2 open the HASB-100 control page http: // 10.0.0.2: 81 enter the Virtual Server Page, enter the public port 80, Private Port 80, port type is TCP, Host IP address 10.0.0.10. Click Add settings, save and restart the HASB-100. The settings are complete. At this time, the Internet can access the internal 10.0.0.10 by entering the IP address of the HASB-100 in IE, of course, 10.0.0.10 to open the HTTP service. Let's talk about the FTP virtual server. Note that FTP has two ports, 20 and 21, both of which must be mapped, and the method is the same as above. First, disable the FTP service for the HASB-100 on another configuration page. Submit and save. Then, add two mappings to the Virtual Server Page. Just like HTTP, we will not talk about them here. In other settings, www.2cto.com has DMZ settings. By default, the DMZ settings are disabled. You must enable the functions of virtual servers in the LAN.
Go to the vro and click "other settings"> "NAT"> "add ". Select "REDIRECT" as the rule type ". Select "TCP" as the Protocol ". Enter your computer address, for example, 192.168.0.2 ". Select "HTTP80" as the start port. If other ports are mapped, select "any other ports" and enter the port number on the right. Www.2cto.com terminates the destination port, which is the same as the starting destination port. To map a port range, for example, "60000-60020", set the starting destination port to 60000 and ending destination port to 60020.
Finally, click Submit. Click "advanced" in the main menu, and there is a forwarding in the next menu. Set the webserver on the internal pc192.168.1.2 as follows: extport: 80to80ipaddress: 192.168.1.2 and click "apply.

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.