Forward proxy and reverse proxy

Source: Internet
Author: User
1. Concept of forward proxy

Forward proxyIsOrigin server)To get content from the original server, the client sends a request to the proxy and specifies the target (original server ), then the proxy transfers the request to the original server and returns the obtained content to the client. The client must make some special settings to use the forward proxy.

 

2.Reverse Proxy Concept

Reverse ProxyOn the contrary, for a client, it is like an original server, and the client does not need to perform any special settings. The client sends a common request to the content in the namespace (name-space) of the reverse proxy, and then the reverse proxy determines where (original server) to transfer the request, and return the obtained content to the client, just as the content is originally its own.

 

3.Differences

SlavePurposeFor example:

The typical purpose of forward proxy is to provide a way to access the Internet for LAN clients in the firewall. Forward proxy can also use the buffer feature to reduce network usage. A typical purpose of reverse proxy is to provide the server behind the firewall to Internet users for access. The reverse proxy can also provide Load Balancing for multiple backend servers or buffer services for slow backend servers.

In addition, the reverse proxy can also enable advanced URL policies and management technologies to make the web pages in different Web server systems exist in the same URL space at the same time.

SlaveSecurityDescription:

The forward proxy allows the client to access any website and hide the client itself. Therefore, you must take security measures to ensure that only authorized clients provide services.

The reverse proxy is transparent to the outside, and visitors do not know that they are accessing a 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.