Peanut shells is a dynamic IP binding tool; its working principle is mainly the application of dynamic domain name resolution. Dynamic domain name resolution, not that the domain name is dynamic, how the domain name can move it, moving IP, in the dynamic public IP environment of the domain name resolution. Simply put, in a dynamic public IP environment, the domain name can be resolved to the latest dynamic public IP, resolution is real-time, even if the public IP changes, will not affect the domain name resolution, does not affect the use of the domain name application, to achieve the dynamic public IP environment to publish applications, access to the intranet purposes.
Port mapping is to map from the public IP address to the intranet IP address, the server or some applications in the intranet, through the port mapping can be accessed from the Internet by accessing the public IP address to access your intranet server or application. This kind of thing in the public IP address is limited when usually used, the mapping of the port number can be defined, the internal and external networks can use the same port number, you can use a different one, it has to be based on the need to do.