无法对通道直接发送 SOCKS5 请求,但是我们的代理管理器(PM)端口默认的收到 HTTP,HTTPS 和 SOCKS5 请求。
为了对本地 PM 端口发送 SOCKS5 请求使用:
curl -x socks5h://localhost:24000 http://lumtest.com/myip.json
为了对服务器上装的 PM 端口发送 SOCKS5 请求使用:
curl -x socks5h://<PM IP>:<PM端口> “http://lumtest.com/myip.json”
注:为了对本地 PM 端口发送 HTTP 请求使用:
curl --proxy localhost:24000 http://lumtest.com/myip.json
注:为了对本地 PM 端口发送 HTTPS 请求使用:
curl --proxy localhost:24000 https://lumtest.com/myip.json