cURL / Mailing Lists / curl-users / Single Mail


Re: How to route cURL requests through Tor

From: Gisle Vanem <>
Date: Sun, 2 Feb 2014 04:50:57 +0100

"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
  curl -o <file.html> --socks5-hostname localhost:9050 <URL>

List admin:
Received on 2014-02-02