Use tinyproxy for secondary ip proxy

Problem Description

tinyproxy is a lightweight proxy server. The installation tutorial and usage tutorial will not go into details here. I will just talk about the problems I encountered. When using tinyproxy for secondary ip proxy, I found that HTTP requests are sent to the secondary proxy The server's request uses the CONNECT method, resulting in a 403 error, and normal data return cannot be performed.

Problem finding

By checking the tinyproxy log, it is found that because the primary proxy server sends CONNECT to port 80 of the secondary proxy server, and by default the tinyproxy server rejects CONNECT requests other than port 443. After finding the problem, we will start the next step.

problem solved

Looking through the tinyproxy configuration file, it is found that there is a configuration item for ConnectPort, adding the ConnectPort 80 configuration, which allows port 80 to receive connection requests from the first-level proxy server. As shown in the figure below Insert picture description here
, restart the proxy server after the configuration is complete to take effect.

Guess you like

Origin blog.csdn.net/cyb_123/article/details/107464425