What is reverse proxy, how to differentiate between reverse and forward proxy

Source: Internet
Author: User

Transferred from: http://blog.csdn.NET/shixing_11/article/details/7106241

has been on the reverse of reflection agent do not know how to understand, after Baidu know, combined with the following this picture, finally make clear a little. Simply say from a LAN to the server to the positive, from the client to enter a LAN for the reverse

Concept :

The reverse proxy method refers to a proxy server that accepts connection requests on the Internet, then forwards the request to a server on the internal network and returns the results from the server to the client requesting the connection on the Internet, Reverse. At this point the proxy server is represented as a server externally.

Overview:

The usual proxy server, which is used only to proxy connection requests to the Internet by the internal network, must specify a proxy server and send HTTP requests that would otherwise be sent directly to the Web server to the proxy server. Because the host on the external network does not configure and use this proxy server, the normal proxy server is also designed to search the internet for multiple, uncertain servers instead of accessing a fixed server for requests from multiple clients on the Internet. Therefore, the normal Web proxy server does not support external access requests to the internal network. When a proxy server is able to proxy hosts on an external network, this proxy service is called a reverse proxy service when it accesses the internal network. At this point the proxy server is represented as a Web server, and the external network can simply treat it as a standard Web server without the need for a specific configuration. The difference is that the server does not save the real data of any Web page, all static Web pages or CGI programs are stored on the internal Web server. Therefore, the attack on the reverse proxy server does not cause the Web page information to be destroyed, which enhances the security of the Web server.
There is no conflict between the reverse proxy mode and the packet filtering method or the normal proxy mode, so both methods can be used in the firewall device, where the reverse proxy is used for external network access to the internal network, and the forward proxy or packet filtering method is used to deny other external access and provide internal network access to the external network. This way, you can combine these approaches to provide the best secure access.

Why is it called reverse:

But that doesn't explain why he's called reverse, in principle. The proxy server handles the request from the client and forwards it to the destination server, so the proxy server does not have any reverse meaning, and the following diagram shows why the reverse proxy is called reverse

By the way, from the structural point of view, the right side of the proxy and reverse proxy for a bit, the original proxy Server client from the intranet. It and the proxy server form a LAN, and the reverse proxy. The proxy server and the server are made up of a group. So from the perspective of structure, it is reverse, from the English point of view, The word reverse contains the meaning of flipping, meaning that it refers to this reversal on the structure chart, but because of the relationship of translation. To the Chinese into a reverse proxy. In fact, the proxy has not done anything different from before. It still forwards the request from the client to the actual end. Due to the large use of the CDN, the servers behind the reverse proxy are used to adapt to this cross-network architecture with actual IP addresses. This often makes it more difficult to have a clear answer to the question "What is the inverse of reverse proxy in this noun?"

What is reverse proxy, how to differentiate between reverse and forward proxy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.