Now most home and office LANs share the Internet through NAT. Because NAT works to hide the internal IP address from the outside world, it constitutes a natural firewall. For this reason, the external services on some hosts cannot be directly accessed by the external network users. The external service port of the internal network host must be mapped to the relevant port of the external IP address of the gateway through the port mapping method on the gateway. Can be accessed by the Internet.
Home and small office LAN sharing Internet is mainly divided into soft (proxy server) and hard (modem and broadband router with routing function). This article will explain the setting methods and steps of the two proxy methods in more detail with four practical cases.
The gateway address of the LAN is assumed to be 192.168.1.1, and the host address of the intranet server to be mapped is 192.168.1.3.
Example 1: FTP server. For example, in this paper, the mapping FTP server (TCP port 21) service is taken as an example. The mapping method of the WEB server is exactly the same as FTP, except that the port number is 80.
Example 2: CS server. The service port scanned by the CS client by default is TCP 27015~27017, so we take the mapping of port 21015 as an example. In fact, the mapping method with the FTP and WEB service ports is exactly the same.
Example 3: BT download. Since the principle of BT download is to upload at the same time of downloading, only uploading smooth can reach the high speed of downloading, so we need to map its upload port. Depending on the BT software used, for example, the Bit Wizard defaults to 16881 for all tasks. Other common BT download softwares use one upload port for each task. The starting port is TCP 6881, which generally allows 10 tasks. Therefore, the mapping of ports 6881 to 6890 is taken as an example.
Example 4: QQ voice chat. QQ language chat is generally through the server transfer to establish a connection, so NAT has no effect on it. However, Tencent has restricted the non-members. The non-members who are in the chat are both behind the agent and cannot connect successfully. However, as long as one party belongs to the public network user, the connection is successful, and the member is not subject to this restriction. Therefore, in general, there is no need to map ports.
And when we encounter unsuccessful chats, most of them only open HTTP proxy on the gateway. Although QQ now supports HTTP proxy, QQ can only chat with HTTP proxy. When people chat outside, they always fail to connect. This situation can be solved by means of a secondary agent, and the setting method will be introduced in CCPRoxy.
I recently found openssl and found that the certificate is safe. Then on the Internet, I found out h
Problem: The operating system of the LAN server is Windows Server 2003. When brows
In 2006, the most popular Chinese domain name on the Internet except the World Cup
1. Creating a Site Folder First you have to create a new site folder
The advantages and disadvantages of CDN acceleration and the difference between two-line server
Solution for error when connecting SQL Server to server
After reinstalling the domain and server, users can also see the mail?
Server Dictionary: What is a cluster server?
IIS prompts not found the provider The program may not be installed properly The error is resolved
Solve the problem that phpMyAdmin can't import database over 2M
How to make Windows 2003 system more secure
Actually solve the "HTTP 500 internal server error" of IIS server
Connection may not be enabled or the computer is too busy (resolving remote desktops cannot connect)
How to prevent the desktop from being modified at random
Win10 uses compatibility mode to solve the problem that the application can't run.
Windows system operation intensive 60 strokes
Windows8 Beta App Contest can be uploaded to upload works
How to reduce CPU usage when Win7 plays video?
Win7 pops up "Cannot find server or DNS error" prompt what to do?
How to solve the Win8 system can not open WiFi after turning off the wireless network
Vista activation prompts to clear the method
How to disable the "display desktop" function in the win7 Ultimate computer?