Forward proxy vs reverse proxy

Source: Internet
Author: User
A forward proxy is also a legendary proxy. It works like a stepping stone. Simply put, I am a user and cannot access a website, but I can access a proxy server, which can access a website that I cannot access. So I first connect to the proxy server, tell him that I need the content proxy server that cannot access the website to retrieve it and return it to me. From the perspective of a website, a record is recorded only when the proxy server obtains the content. Sometimes the request is not known as a user, and the user information is hidden. This is determined by the proxy not telling the website. The conclusion is: the forward proxy is a server located between the client and the original server. In order 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. If reverse proxy has never been touched by the concept of reverse proxy servers such as nginx at the beginning, it may be a bit abstract. Let's continue with the example:

Visit http://free4lab.com/readme. This page does not exist on free4lab.com. He secretly retrieves it from another server and then sends it to the user as his content,
But the user does not know.

This is normal. Users are generally stupid. The server corresponding to the ooxx. Me domain name mentioned here sets the reverse proxy function.

The conclusion is: reverse proxy is the opposite. for the client, it is like the original server, and the client does not need to perform any special settings. The namespace (name-space) from the client to the reverse proxy) then, the reverse proxy will determine where (the original server) to transfer the request and return the obtained content to the client, just as the content is originally its own.

Forward proxy vs reverse 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.