File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 1+ # Docker Tor Hidden Service Proxy
2+
3+ Create simple darknet proxy to clearnet website using Docker container.
4+
5+ See example on [ boruta.info] ( https://boruta.info/ ) . Proxy request is sending additional header ` x-tor ` , which allows you to recognize the tor domain.
6+
7+ ## Setup
8+
9+ 1 . Clone repository:
10+ ``` bash
11+ git clone git@github.com:borutainfo/DockerTorHiddenServiceProxy.git
12+ ```
13+
14+ 2. Edit ` tor/proxy.conf` and change ` {YOUR_DOMAIN}` to clearnet domain you want to create proxy.
15+
16+ 3. Edit ` docker-compose.yml` and change ` {YOUR_DOMAIN_PRIVATE_KEY}` to hidden service domain private key.
17+
18+ If you do not have domain already generated you can comment out line in Dockerfile:
19+ ` ` ` dockerfile
20+ RUN echo " ${PRIVATE_KEY} " > /var/lib/tor/proxy/private_key
21+ ` ` `
22+ Domain will be generated automatically. You can read the hostname after docker-compose up, by command:
23+ ` ` ` bash
24+ docker exec dockertorhiddenserviceproxy_tor-server_1 cat /var/lib/tor/proxy/hostname
25+ ` ` `
26+
27+ 4. Run docker-compose:
28+ ` ` ` bash
29+ docker-compose up -d
30+ ` ` `
You can’t perform that action at this time.
0 commit comments