Skip to content

Web server with reverse proxy and https using docker-compose and Tor network

License

Notifications You must be signed in to change notification settings

tpaphysics/tor-simple-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker alpine-linux tor-web-server nginx


💻 Project

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.

architecture

We created three services in the docker-compose file, the tor, proxy, the site and they all use Alpine Linux as a base image.

Get Started

# up server
docker-compose up --build

architecture

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:

architecture

After loading the page:

website-tor

To remove containers:

docker rm -f $(docker-compose ps -aq)

💥 Considerations

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.

👨‍🚀 Author

Thiago Pacheco
Thiago Pacheco de Andrade

👋 My contacts!

Linkedin Badge Gmail Badge

📝 License

This project has an MIT license.