Trans server as Tor Hidden Service
Trans server as Tor Hidden Service
Here is how to run Trans server as Tor Hidden Service.
# Go to this repo
cd <this repo>
# 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)
All data for persistence are under ./docker_volumes
.
You can check server’s host name by
cat docker_volumes/tor_hidden_service/hostname
You can send a file by like the following.
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
is also available in this docker-compose.
You should add -k
or --insecure
to curl
option.
torsocks curl -k -T ./mytext.txt https://yhxhvqs46f6bxfxc.onion