4

I'm living in China, and lots of web service is not available or stable here like Github/Bitbucket/Imgur, When I'm using wget, git or some other commandline tools, I need using a proxy.

Is there any tool to globally wrap socket connection in one terminal, so I don't need to memorize all the separate method for each commandline tools? I know there is some tools which can wrap std socket library.

4

I suggest you look at tsocks that allows you to forward all connections to a SOCKS4 proxy, without changing your command lines; tsocks on is possibly the command you want.

| improve this answer | |
1

There are some scripts which uses redsocks to create transparent proxy. Check it out https://github.com/dilawar/Transparent-Proxy .

| improve this answer | |
0

I found one, it is proxychain: https://github.com/haad/proxychains

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.