Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.03 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.03 KB

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