Analysis of transparent proxy in proxy server

We all know that there are many types of proxy servers, which can be divided into fully anonymous proxy, ordinary anonymous proxy, and transparent proxy according to the security of the requested information. The following Apocalypse IP will give you a brief introduction to what a transparent proxy is and how it works.
Insert picture description here

(1) What is a transparent proxy

The difference between these three types of proxy servers is that the configuration of the proxy server is different, which causes the three variables of REMOTE_ADDR, HTTP_VIA, and HTTP_X_FORWARDED_FOR to be different when sending a request to the target address. The three conveniences of transparent proxy are:

REMOTE_ADDR = Proxy IP

HTTP_VIA = Proxy IP

HTTP_X_FORWARDED_FOR = Your IP

Transparent proxy means that the client does not need to know the existence of a proxy server at all. It adapts your request fields (message) and transmits the real IP. Although you can directly "hide" your IP address, you can still find out who you are from HTTP_X_FORWARDED_FOR. Note that the encrypted transparent proxy is an anonymous proxy, which means there is no need to set up a proxy.

(2) The principle of transparent agency

Insert picture description here
​As shown in the figure, user A and user B do not know that the behavior management device acts as a transparent proxy. When user A or user B submits a request to server A or server B, the transparent proxy device will intercept and act according to its own policy. Modify the message of user A or B, and as the actual requester, send a request to server A or B. When receiving the information back, the transparent proxy sends back the allowed message to user A or B according to its own settings. If the transparent proxy setting does not allow access to server B, then user A or user B will not get server B's data.

Guess you like

Origin blog.csdn.net/tianqiIP/article/details/112952076