Saturday, March 5, 2011

Port Mapping

Port mapping is actually often say the NAT address translation of a kind of, its function is to turn in public network address translation into private address, using routing ways of ADSL broadband router has a dynamic or fixed lo-fi IP, ADSL directly connected on or on a switch, all the computer to share Internet.
summary
Port mapping is actually often say the NAT address translation of a kind of, its function is to turn in public network address translation into private address, using routing ways of ADSL broadband router has a dynamic or fixed lo-fi IP, ADSL directly connected on or on a switch, all the computer to share Internet.
Port mapping basic introduction
Many clients every day ask why to port mapping? For example: the Internet through a router, the website can access, but man can't, Input 127.0.0.1 can access, someone else, or see, Input localhost can see, but the others is not visible, exasperating oh ~ no way, only for port mapping.
(router port mapping - this tutorial is suitable for all Tplink - TLR - 402 series routers under the erection web server, mail server, private servers server, monitoring server, remote server, housekeeping kingdee etc financial management server, VPN, ERP, FTP server port mapping method) etc.
Method of use
First, simple tell everyone, what call port mapping:
Port mapping also called port forwarding, also called virtual server, each brand router is different, hyphenates different. But the operation is the same.
Port mapping process
Port mapping process as: your in a neighborhood B building 2410 room, your friend to seek you, find area doorway, don't know which layers which number do you live? He asked the gatekeepers security, a security very polite told him your detailed addresses, so you friends easily finding your house. This process is outer net access network through port mapping figure. Introduce below next port mapping of the kind of terminology.
In the network technology, ports have several kinds of meaning. Hubs, switches, the router port refers to connect to other network equipment interface, such as RJ - 45 port, * port, etc.
We here said the port, not the computer hardware in the I/O port, but the software in the form of the concept. The server can provide a variety of services to the outside, for example, a server can also is a WEB server, also can be the FTP server, meanwhile, it also can be the mail server.
Why a server can also offers so many service? One of the very main aspect, is a variety of services provided by a different port respectively different services, such as: the WEB using port 80, FTP by 21 port, etc. So, through different port, the computer with the outside world not interfere with each other communications. We citcc port doesn't refer to the physical sense of ports, but refers to the TCP/IP protocol, the port is logical significance on the port.
Port mapping: the connection of a computer to the Internet opening service or receive data, the need for port mapping.
Port mapping is divided into dynamic and static dynamic port mapping: connection. The computer to visit sina.com, will provide the NAT gateway sends a packet, baotou include each other (is) IP, ports and sina.com machine IP, ports, NAT gateway will put the machine IP, port replace into his own lo-fi IP, an unused port, and will take this mapping relation for later use forward packets. Then take a data sina.com, sina.com react to receive the data, sending data to NAT gateway of the unused port, then NAT gateway will give the data forwarding the connection that computer, realize the connection and public network communications. When the connection is closed, NAT gateway will release assigned to this link of ports for later connections can continue to use.
Dynamic port mapping namely actually NAT gateway approach to work.
Static port mapping: is the gateway to open a fixed on NAT ports, then setting this port receives data to resend the connection which IP and port, no matter whether the connection, the mapping relationship will always exist. Can let the public network access to a computer network initiative.
Port mapping of practical
An overview, [1] first, we will vidcs. Exe lo-fi IP, on to fixed tele-and datacom solutions to run on a computer, such as vidcs - p port vdics - p5205.
This sentence mean in the public network computer listening socket connection and then returned to the 5205 computer, click operation vIDCc. Exe
Explain the above setting, VIDC service IP, refers to run the vidcs. Exe intercepting the port's IP address, port refers to the monitoring in public network monitor the above ports, I 5205 port, is bindip means you should open out the connection IP, Bind port connection means your computer needs open ports (FTP server port for 21, WEB service ports for 80, E-mail service ports 25) you want to open which will fill in which it.
Mapping port refers to you want to pass lo-fi what port services are provided. Port by you decide, fill out after, we point "Connect", will arrive soon received hints to Success 210.210.21.21, 5205, Connect (ver, 1.2), indicating that connection succeeds. Continue to dot "bind", will also receive success tips.
Such, your machine son port 80 will open out. Access methods HTTP, / / lo-fi IP, mapping port.
Such as HTTP, / / 210.210.210.210, 8080
Second, WinRoute Pro's port mapping function
WinRoute Pro is a job in network address translation (NAT) ways of Internet connection sharing software. Itself build in port mapping function.
Running under the WinRoute and login, in the main menu options "Settings - on the Port fang" guide-explore-design-grasp, appear Port Mapping Settings interface. Port mapping entries addition. Can set the options including agreement, listening socket, port type (single port, or a range of continuous port), its destination, the destination port, etc. 

No comments:

Post a Comment