[network tool]convert SOCKS proxy into http proxy

郭博涉
2023-12-01

In chrome, we can install a proxy plugin, e.g. switchyOmega, to configure a SOCKS proxy. but what about other agents, like postman, curl?

Postman right now doesn't support SOCKS proxy inside itself except for schema http/https.

however, there's a proxy tool converting SOCKS to http, http-proxy-to-socks.

You can read the official doc for details but here I list the usage of this tool for your convenience.

1. install http-proxy-to-socks

npm install -g http-proxy-to-socks

2. open a proxy port locally, e.g. the SOCKS port is 1080 and the http port you define is 8080

 hpts -s 127.0.0.1:1080 -p 8080

 类似资料:

相关阅读

相关文章

相关问答