2

Did anybody manage to do this? I've tried every tunneling software I could find that tunnels over http. No luck, various errors, even with different tor2web hosts. I was looking into using the tor2web proxy as a way to port forward to my different boxes.

1 Answer 1

2

tor2web is an HTTP proxy, it takes in requests for "foo.tld" and makes a corresponding request to "foo.onion" over Tor and provides back the response. It's important to note that it makes a corresponding request, it doesn't just take in an arbitrary TCP stream and forward it on for you, it's looking for a well formed HTTP request to make on your behalf.

As such the only way to transfer some arbitrary data stream over HTTP is to implement some transport method on top of HTTP which both you and the remote party understand to encapsulate stream data inside of some series of HTTP requests and responses between you and the service behind tor2web.

4
  • Yes, when I use a tool like crowbar or httptunnel or chisel (websockets, ok maybe not supported) it still does not work. Is there a known way?
    – Polarsbear
    Mar 22, 2017 at 7:53
  • Websockets are not HTTP, there's probably not a known way. I'm not sure about the other suggestions. You want a bespoke solution, you're going to have to create a bespoke solution.
    – cacahuatl
    Mar 22, 2017 at 17:46
  • Working on it. I've succesfully created 2 python scripts, a http server and a client who only communicate through URL-content and GET-responses
    – Polarsbear
    Mar 25, 2017 at 12:18
  • Will post the result here
    – Polarsbear
    Mar 25, 2017 at 12:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .