在linux vps上。先安装go环境。然后,
cd $GOPATH
go get -u -v github.com/cobratbq/httpRelay/cmd/proxy/
这样,可执行文件proxy就会出现在$GOBIN/下。
mv /root/go1.13/go/gopath/bin/proxy /root/go1.13/go/gopath/bin/httpRelay
httpRelay -h
httpRelay -listen 127.0.0.1:6060
显示:
2020/04/11 16:55:48 HTTP proxy server started on 127.0.0.1:6060
项目地址:
https://github.com/cobratbq/httpRelay
https://github.com/cobratbq/httpRelay/tree/master/cmd/proxy
这种http proxy server app可用作各种tunnel程序的后端程序。
这个httpRelay如果安装在本地机器上,还可把socks proxy转换为http proxy。详见
https://briteming.blogspot.com/2018/02/socks-proxyhttp-proxy-hpts.html 的第12部分。
cd $GOPATH
go get -u -v github.com/cobratbq/httpRelay/cmd/proxy/
这样,可执行文件proxy就会出现在$GOBIN/下。
mv /root/go1.13/go/gopath/bin/proxy /root/go1.13/go/gopath/bin/httpRelay
httpRelay -h
httpRelay -listen 127.0.0.1:6060
显示:
2020/04/11 16:55:48 HTTP proxy server started on 127.0.0.1:6060
项目地址:
https://github.com/cobratbq/httpRelay
https://github.com/cobratbq/httpRelay/tree/master/cmd/proxy
这种http proxy server app可用作各种tunnel程序的后端程序。
这个httpRelay如果安装在本地机器上,还可把socks proxy转换为http proxy。详见
https://briteming.blogspot.com/2018/02/socks-proxyhttp-proxy-hpts.html 的第12部分。