Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've purchased a file sharing sharing utility that connects to a server using the server's hostname and/or IP (intentionally not FTP). In order to make the system as secure as possible, I decided to run the server through a Tor hidden service.

The problem is that the client does not support .onion hostnames, so I was wondering if there's any way to route the application traffic to the hidden service. This must be all in Windows by the way.

What I thought so far:

  1. On the client, set the server host to the .onion address on port A.
  2. Add an entry to the hosts file to have the .onion address point to
  3. Have some sort of software listen to on port A and route the incoming traffic (using the SOCKS5 proxy provided by Tor) to the real .onion address on port B.
  4. On the server, set up the server instance on port C and configure a tor hidden service to route incoming traffic from the .onion address on port B to on port C.

I'm stuck at step 3, I can't seem to find something that does this.

share|improve this question
Tor itself knows how to route .onion links; can you not simply bind its proxy to port A on localhost and have it handle the traffic? – Aaron Miller May 19 '13 at 13:07
You could use proxifier to force your application to be routed through the TOR SOCKS proxy. It allows per-app settings so that might work. – Satoh May 19 '13 at 13:57
@AaronMiller How would running the Tor SOCKS5 proxy on help? – Fide Rogers May 19 '13 at 14:57
I've solved the problem using socat, but I'm open to better alternatives. – Fide Rogers May 19 '13 at 15:04

You must log in to answer this question.

Browse other questions tagged .