https://github.com/nwtgck/trans-server-tor-docker-compose
Trans server as Tor Hidden Service
https://github.com/nwtgck/trans-server-tor-docker-compose
docker docker-compose hidden-services tor tor-hidden-services
Last synced: 7 months ago
JSON representation
Trans server as Tor Hidden Service
- Host: GitHub
- URL: https://github.com/nwtgck/trans-server-tor-docker-compose
- Owner: nwtgck
- Created: 2018-08-04T16:27:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T06:33:06.000Z (over 6 years ago)
- Last Synced: 2025-02-06T13:31:09.678Z (8 months ago)
- Topics: docker, docker-compose, hidden-services, tor, tor-hidden-services
- Language: Dockerfile
- Homepage:
- Size: 175 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# trans-server-tor-docker-compose
[Trans server](https://github.com/nwtgck/trans-server-akka) as [Tor](https://www.torproject.org/) Hidden Service
## Run server
Here is how to run Trans server as Tor Hidden Service.
```bash
# Go to this repo
cd
# Initialize "tor_hidden_service" for docker volume sharing
sudo ./init_shared_tor_hidden_service.sh
# Run the server
docker-compose up
```(NOTE: `sudo` is not necessary if you use [Docker For Mac](https://www.docker.com/docker-mac))
## Data Persistence
All data for persistence are under `./docker_volumes`.
## Check host name
You can check server's host name by
```bash
cat docker_volumes/tor_hidden_service/hostname
```## Access to the server
You can send a file by like the following.
```bash
torsocks curl -T ./mytext.txt http://yhxhvqs46f6bxfxc.onion
```Or you can access to the page like the following on Tor Browser.

(NOTE: You should replace hostname with yours)
## HTTPS access
`HTTPS` is also available in this docker-compose.
You should add `-k` or `--insecure` to `curl` option.
```bash
torsocks curl -k -T ./mytext.txt https://yhxhvqs46f6bxfxc.onion
```