Due to the application of HTTP proxy, more and more people understand the service of HTTP proxy. But you know what? HTTP proxy is divided into forward proxy and reverse proxy.
1. A forward proxy is a server between the client and the original server.
In order to obtain content from the original server, the client sends a request to the proxy and specifies the target (original server), and then the proxy transfers the request to the original server and returns the obtained content to the client. Before using forward proxy, the client must have some special settings.
2. Reverse proxy is like the original server to the client, and the client does not need any special settings.
The client sends a general request to the content in the name space of the reverse proxy, and then the reverse proxy will determine where to transfer the request (the original server) and return the obtained content to the client as if the content was its own.
What is the difference between forward proxy and reverse proxy?
The common use of forward proxy is to provide LAN clients in firewall with a way to browse the Internet. Active proxies can also use the buffer feature to reduce network utilization, manage network behavior, and record user access records.
The main purpose of reverse proxy is to ensure the security of internal network. Reverse proxy can be used to provide WAF function to prevent network attacks. The second is load balancing, which optimizes the website load through the reverse proxy server.