Difference between forward proxy and reverse proxy
What is a forward proxy?
Forward proxy, which is the legendary proxy, works as a springboard. simply put, I am a user, I cannot access a website, but I can access a proxy server. What about this proxy server, he can access the website that I can’t access So I first connected to the proxy server and told him I needed the content that could not access the website. The proxy server fetches it back and then returns it to me.
From the perspective of the website, there is only one record when the proxy server comes to fetch content. Sometimes it is not known that it is the user’s request, and the user’s information is also hidden, depending on whether the agent tells the website.
The conclusion is that the forward proxy is a server located between the client and the origin server. In order to get content from the origin server, the client sends a request to the proxy and specifies the target (origin server), and then the proxy forwards it to the origin server. Request and return the obtained content to the client. The client must make some special settings to use a forward proxy.
What is a reverse proxy?
The conclusion is that the reverse proxy is just the opposite, it appears to the client as the original server, and the client does not need to do any special setup. The client sends a normal request to the content in the name-space of the reverse proxy, and then the reverse proxy will determine where (origin server) to forward the request and return the obtained content to the client, like these The content was originally it’s own.So, what is the difference between forward proxy and reverse proxy?