Skip to content

borutainfo/DockerTorHiddenServiceProxy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
tor
 
 
 
 
 
 

Docker Tor Hidden Service Proxy

Create simple darknet proxy to clearnet website using Docker container.

See example on boruta.info. Proxy request is sending additional header x-tor, which allows you to recognize the tor domain.

Setup

  1. Clone repository:

    git clone git@github.com:borutainfo/DockerTorHiddenServiceProxy.git
  2. Edit tor/proxy.conf and change {YOUR_DOMAIN} to clearnet domain you want to create proxy.

  3. Edit docker-compose.yml and change {YOUR_DOMAIN_PRIVATE_KEY} to hidden service domain private key.

    If you do not have domain already generated you can comment out line in Dockerfile:

    RUN echo "${PRIVATE_KEY}" > /var/lib/tor/proxy/private_key

    Domain will be generated automatically. You can read the hostname after docker-compose up, by command:

    docker exec dockertorhiddenserviceproxy_tor-server_1 cat /var/lib/tor/proxy/hostname
  4. Run docker-compose:

    docker-compose up -d

About

Simple docker-compose to proxy Tor domain to clearnet website.

Resources

License

Stars

Watchers

Forks

Packages

No packages published