Configure port ing of the mercury router to achieve Internet sharing

Source: Internet
Author: User

I found some port ing problems on the mercury router on the Internet. I don't know if it is helpful. I hope it will help. Some people have provided some answers, but they are not very detailed. There are still many questions about the mercury router. I hope the experts will provide some wonderful solutions.

I. The following describes how to implement port ing through nat shared Internet access and nat.

◆ On Windows Server, go to "Routing and Remote Access" routingandremoteaccess from the management tool), right-click the server, and choose-> "configure and enable Routing and Remote Access"

◆ Port ing of the mercury router: click "Next"

◆ Select "internet connection server" to allow Intranet hosts to access the internet through this server. it is best to configure nat sharing so that the Intranet host can access the Internet normally. Otherwise, configuring nat sharing After configuring port ing will be a little troublesome. Otherwise, nat cannot be shared .)

◆ Select "vro with Network Address Translation (nat) routing protocol", and do not select "Set internet Connection Sharing (ics )". (the difference between ics and nat is that it is easy to use. To enable ics, you only need to select a check box. To enable nat, you need more configuration tasks, in addition, ics is used on small networks because it requires a fixed IP address range for internal hosts and communication with external networks, it is restricted to a single public IP address; it only allows a single internal network interface .)

◆ Let's talk about my network situation here: internet connection 192.200.200.3 (it's also an internal address, no way, tietong's network is not very good, the network speed is not fast, the price is expensive, my life is really bitter) there is a LAN in the dormitory connected to 192.168.0.1. There are 4 computers in total, one of which is a web server installed with sambar5.1b5 and the web port is 80. In the future, the Internet will be replaced with 192.200.200.55) to access the webpage on 192.168.0.2: 80) iis5.0 is enabled on the nat host, and the port is 80. port 8081 is mapped to port 80 of the internal host 192.168.0.2 by port ing.

◆ In the "route and Remote Access Server Installation Wizard", select "internet connection" as the connection to the internet.) Click "Next ".

◆ If you select "done", the nat sharing settings are complete and the internal hosts can access the Internet. The network settings of the internal host are as follows: the IP address range is 912.168.0.2 ~ 192.168.0.254, The subnet mask is 255.255.255.0, the gateway is 192.168.0.1, And the dns is the IP address given by the isp. what we get is 211.98.xxx.xxx

Ii. use nat to map ports of the mercury Router

◆ Add the nat protocol. Right-click "General",-"New Route Selection protocol"

◆ In "New Route Selection protocol", select "Network Address Translation nat", and click "OK"

◆ In this way, "Network Address Translation nat" is added to "ip Route Selection )"

◆ Right-click "Network Address Translation nat" and add "New Interface"

◆ Select "internet connection" in "New Interface for Network Address Translation (nat)", that is, the connection to the internet. Do not select an error)

◆ In "Network Address Translation-internet Connection Properties", select "connect public interface to internet", and check "Switch tcp/udp header is recommended )"

◆ In the "address pool" Option List, add the starting address and ending address that you need to provide the port ing redirection of the mercury router. that is to say, you need to take out all the IP addresses for port ing. Generally, we only have one IP address, so you don't need to talk about the difference between the "address pool.

◆ In the "Special mercury router port ing" Option List, the data connection protocol you need to direct is tcp or udp, for example, web and ftp are tcp ), after selection, "add"

◆ "Add special port". This is the core of port ing. The port ing between the nat host and the Intranet host is set here, because there is an "address pool", you can add any address in the "address pool" in "Public Address". Here, "192.200.200.3" is added, that is, my address, if you have not set "address pool" before, "Here address pool item" is unavailable on this option page.

◆ You can only select "this interface", that is, you only have one public ip address. This is suitable for friends who only have one ip address. You do not need to use the "address pool". Why do you need to set extra ip addresses? If there is a problem, it is not difficult. "Incoming mercury router port ing" refers to the port for someone else to access the nat server with a public ip address from outside the network. This is set to 8080. "Private address and outgoing address" are the IP address of the internal host and the port that provides special services. Here, port 8080 on 192.200.200.3 is mapped to port 80 on 192.168.0.2. This is the redirection of the tcp port, and the udp targeting page is similar.

Related Article

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.