Skip to content

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

License

Notifications You must be signed in to change notification settings

borutainfo/DockerTorHiddenServiceProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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