Skip to content

Commit 30c2efd

Browse files
committed
README.md
1 parent 5047b21 commit 30c2efd

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

File renamed without changes.

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
```

0 commit comments

Comments
 (0)