Dynamic customs duty calculation-APP, download it now, new users will receive a novice gift pack.
Win7's method of realizing NAT forwarding function In network communication,Dynamic customs duty calculation NAT (network address conversion) is an important technology. It converts the IP address of the private network into the IP address of the public network, so as to achieve a seamless connection between the intranet and the extranet. In the Win7 system, it is also very easy to implement the NAT forwarding function. This article will introduce how to implement the NAT forwarding function of Win7. I. Turn on Internet connection sharing. In the Win7 system, the first step to realize NAT forwarding is to turn on Internet connection sharing. Internet connection sharing is an older technology, but it is still widely used because it allows multiple devices to share the same Internet connection.To turn on Internet connection sharing, you first need to enter the control panel, then find "Network and Internet", and then click "Network and Sharing Center". In this interface, you can see the network configuration of the current computer. Find the network connection of the current computer, right-click and select the "Properties" option. In the pop-up window, find the "Share" tab. In this tab, check "Allow other users to connect through the Internet connection of this computer" and select the network connection that needs to be shared. Click the "OK" button to complete the setting of Internet connection sharing. II. After setting up network address conversion and completing the setting of Internet connection sharing, you need to set up network address conversion. In the Win7 system,The way to set up NAT forwarding is to modify the settings of the Windows firewall by using the "netsh" command. The specific steps are as follows: 1. Open the command prompt. To open the command prompt, you can press the Win+R key, enter the "cmd" command in the open window, and then click the "OK" button. Two. Configure the IP address of NAT forwarding. Enter the following command in the command prompt: netsh routing ip nat add addressmapping 192.168.0.2 203.0.113.2, among which, "192.168.0.2" is required in the intranet The IP address forwarded by the line, "203.0.113.2" is the IP address of the public network.The function of this command is to map the IP address of the intranet to the public network address. 3. Configure port forwarding rules. Enter the following command in the command prompt: netsh routing ip nat add portmapping protocol=TCP internalip=192.168.0.2 internalport= The function of the 80 externalip=203.0.113.2 externalport=80 command is to map the 80 port address of the local host to the 80 port of the public network. Just set "internalip" and "internalport" to the IP address and port that need to be forwarded. Four.Check the configuration information. By entering the following command, you can view the configuration information forwarded by NAT: netsh routing ip nat show addressmappingnetsh routing ip nat show portmappin G Enter the above command in the command prompt to view the configuration information forwarded by NAT. III. After testing NAT forwarding and completing the configuration of NAT forwarding, it is necessary to test whether it can be forwarded normally. You can use the ping command or telnet command to test. For example, you can directly access the public network website on a computer in the intranet to see if it can be opened successfully. If it can be accessed normally, it means that the NAT forwarding configuration is successful. IV. Summary Through the above steps, the NAT forwarding function can be realized in the Win7 system.NAT forwarding allows internal network devices to connect to the Internet and also protects intranet devices from external attacks. Therefore, it is a very useful skill to understand how to implement the NAT forwarding function in the Win7 system, and it is also very meaningful for IT practitioners.
Contact Us
Phone:020-83484694
Netizen comments More
2796 Drilling equipment HS code mapping
2024-12-23 23:16 recommend
377 How to reduce shipping delays with data
2024-12-23 23:10 recommend
1076 Industrial cleaning supplies HS code checks
2024-12-23 23:10 recommend
1758 HS code-based risk profiling for exporters
2024-12-23 22:59 recommend
1743 Trade data for public policy design
2024-12-23 20:55 recommend