¶ How to deploy a transit proxy server
Update time: 2025-04-11 11:21:15
¶ HTTP proxy
The following takes goproxy (opens new window) as an example to briefly introduce the deployment process of https proxy. For detailed official documents, please see: https://github.com/snail007/goproxy/blob/master/README_ZH.md (opens new window).
Run as root:
curl -L https://mirrors.host900.com/snail007/goproxy/install_auto.sh | bash
Wait for it to finish. When the following prompt is output, it means that the installation is successful:
>>> installing ...
>>> install done, thanks for using snail007/goproxy free_10.0
>>> install path /usr/bin/proxy
>>> configuration path /etc/proxy
>>> uninstall just exec : rm /usr/bin/proxy && rm -rf /etc/proxy
>>> How to using? Please visit : https://snail007.github.io/goproxy/manual/zh/
Run (replace $PORT with the port you want to use):
proxy http -t tcp -p "0.0.0.0:$PORT"
When the following prompt appears, it means the operation is successful:
2020/09/23 19:25:34 tcp http(s) proxy on [::]:xxxxxx
Please make sure that the server's firewall rules allow GenAuth server to access. The external IP of GenAuth server is:
52.80.250.250
140.179.19.50