0

Can I setup a server on the tor network but connect to it via an application of mine via clearnet.

Or is there some way to setup my application to connect to the tor network and then to my server without downloading any software?

0

You can use netcat from nmap package to listen on port and forward it via socks 5 tor proxy to your onion service. Put netcat on clear net. This will make reachable your onion service for people without any add on software installed.

0

I'm thinking of two different ways to do this. You didn't mention what kind of app, but let's say it's a simple web app.

You can:

  1. Allow both internet and tor traffic at the same time. You, as the app provider, will not have any anonymity because your IP will be accessible from the outside but your users can user with Tor or your IP to access it.

  2. Provide a link to your service via tor2web. This service will allow you to provide a clearnet address to your service. This will reduce or eliminate your user's anonymity because there is no way to know if tor2web is gathering and sharing that data. Though you will still be anonymous.

If you are a more advanced developer, there are Tor APIs for Python and other languages where you can write your own proxy to your onion service. See https://stem.torproject.org/

0

Tor acts just like a STunnel - so I do recommend you to use NGinx and point Tor to it via 127.0.0.1 and - using the different server blocks just to raise the corresponding variables, the rest of it will be handled via your web app/site. If you have any further questions - just drop me a line!

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.