cURL / Mailing Lists / curl-users / Single Mail


Re: How to route cURL requests through Tor

From: Anthony Papillion <>
Date: Sat, 1 Feb 2014 22:49:15 -0600

On 02/01/2014 09:50 PM, Gisle Vanem wrote:
> "Anthony Papillion" <> wrote:
>> I'm writing an application that will include the cURL command line tool
>> within it. I need to route cURL data through Tor that is installed on
>> the users machine. Is there a way to do this or is it impossible?
> You can use the built-in Socks5 server inside Tor (or enable it in your
> torrc).
> And since curl supports the Socks5 protocol, connect via that. Something
> like:
> curl -o <file.html> --socks5-hostname localhost:9050 <URL>

Perfect. Many thanks!

List admin:
Received on 2014-02-02