We build a simple web server exposed on the network. So every request that comes from the tor network is redirected to the web server through the tor proxy.
We created three services in the docker-compose file, the tor, proxy, the site and they all use Alpine Linux as a base image.
# up server
docker-compose up --build
Copy the link generated in yellow, as shown in the figure and paste it into your browser's address bar. If not, in another instance of the terminal, type the command:
docker exec -it tor cat /var/lib/tor/hidden_service/hostname
I advise Brave as it has access to the tor network by default. Then it will say that the SSL certificate is not secure because it was created by the script. Click go to:
After loading the page:
To remove containers:
docker rm -f $(docker-compose ps -aq)
With the advancement of technology, a lot of information is generated, but very little is said about the privacy of this information. Silicon Valley giants collect your social media data, browsing cookies all the time to profile your internet behavior. They use it to sell products, suggest content, and more. If everyone knew what the Tor project is, I'm sure many would use it and the browsing speed would be better as there would be more nodes. In the same way that the ordinary internet can be used for evil, as companies, governments and people do, so can the Tor network. I will not delve into this ethical discourse. As Jesus said: There is nothing outside man that can defile him; but what comes out of him what defiles.
Thiago Pacheco de Andrade
👋 My contacts!
This project has an MIT license.