Port forwarding agent and the agent of those things

What is a proxy

  "Agent" is like a transit station, you can transfer your Internet traffic
   agents typically consists of two parts: agent software (client), the proxy server (server).

   Agent software (client) installed on your computer, the proxy server (server) are usually located on the server.

      When you access the Internet through a proxy, your browser is not directly connected to the destination site. But through the following steps:
  1. The browser sends data to the agent software
  2. Agent software to send data to the wall of your proxy server
  3. The proxy server sends data to the destination site

What is the listening port

  Proxy software to work properly, often need to open a "listening port." Browser to establish a connection with the proxy software through this "listening port." Only by establishing a connection, the browser to send data to the agent software. The port number is a number in the range  1 to  65535 between.

See how listening port

  win7 example: open cmd window, type   netstat -ano | the Find "LISTEN" (Linux:  netstat -ano | grep "LISTEN"  )

      

 

What is a "port forwarding"

  The so-called "port forwarding" A layman's terms is to make the data forwarded to the listening port B listening port.

  B listening port is your original software open Port
  A listening port is newly opened


  As a result, the external computer can be used as a proxy port A port, data is sent to the A port,

  Then use the "port forwarding" feature, the shift data port B

 

  

Guess you like

Origin www.cnblogs.com/zzg521/p/11819963.html