You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jerome Lille <je...@ownbay.net> on 2021/02/06 11:32:09 UTC

[users@httpd] Reverse proxy to a tor .onion-site?

Hi

I wonder if the following is possible, and if so, if there's a howto.

Can one setup Apache so that it would relay all traffic to
https://www.example.com to a .onion-site on the tor network? I'm
thinking that httpd and a tor relay would sit on the same server, the
httpd would be configured to relay all traffic for
https://www.example.com to localhost:9050 (default port for tor's SOCks
proxy) and change the address to http://xyz.onion. Is that possible?

/Jerome


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Reverse proxy to a tor .onion-site?

Posted by Dino Ciuffetti <di...@tuxweb.it>.
> https://www.example.com to localhost:9050 (default port for tor's SOCks
> proxy) and change the address to http://xyz.onion. Is that possible?

I don't think it's possible to use apache as a reverse proxy behind a SOCKS forward proxy since the ProxyRemote directive doesn't seem to support SOCKS protocol.

You may need something like torgate or tor2web to play the game... also pay attention to open to the clear web a clean onion site only or you'll take all the risks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org