Piping Server as Onion Service
Here is how to run Piping Server as Onion Service.
# Go to this repo
cd <this repo>
# Create SSL certs for docker volume sharing
./create_ssl_certs.sh
# Run the server
docker-compose up
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://4ffuycuycuv72tws.onion/mypath1
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://4ffuycuycuv72tws.onion/mypath1