Knowledge Point: Forward Proxy and Reverse Proxy difference

 

Forward Proxy

 

  Forward proxy springboard machine similar to a proxy to access external resources.

for example:

  I'm a user, I can not access a website, but I was able to access a proxy server, the proxy server does, he can visit the site I can not access, so I would like to connect to the proxy server, tell him I need that can not access the site the content, the proxy server to get back, and then return to me. From the perspective of the site, just in time to take the contents of the proxy server has a record, and sometimes do not know the user's request, also hides user data, depending on the agency report does not tell the site.

  The client must be set up forward proxy server, of course, the premise is to know the IP address of the forward proxy server, as well as port agent.

      IP Configuration and similar ports

 

 

Key: Forward proxy is a server located between the client and the origin server (origin server), in order to obtain content from the origin server, the client sends a request to the proxy and specify the target (the original server), and then forwarded to the original proxy server the content of the request and get back to the client. The client must make some special settings to use the forward proxy.

Forward proxy uses:

  (1) Resource Access originally inaccessible, such as google

       (2) can do caching, to accelerate access to resources

  (3) access authorization to the client, Internet authentication

  (4) the proxy can record user access records (access management), external users to hide information

 

 

Reverse Proxy

 

 

  Feel the direction initial contact with the agent, the client is not aware of the presence of the agent, the external reverse proxy is transparent, accessible to visitors who do not know they are a proxy. Because the client does not need any configuration can be accessed.

 

  Reverse proxy (Reverse Proxy) refers to the actual operation mode proxy server to accept connection requests on the internet, and then forward the request to the server on the internal network, and the results returned from the server to the client requesting a connection to the internet end, this time on the performance of the external proxy server is a server.

 

Reverse proxy role:

 

(1) ensure the security of the network, you can use a reverse proxy WAF provides functionality to prevent web attacks

 

Large sites, usually as a reverse proxy to access the public network address, Web servers within the network.

 

 

 

 

(2) load balancing to optimize load site through reverse proxy server

 

 

See FIG expressed under more intuitive

 

文章转载至:https://www.cnblogs.com/lufeiludaima/p/pz20190210.html

Guess you like

Origin www.cnblogs.com/nhdlb/p/12348295.html