How to easily deploy a TOR hidden service

Hi fellas,

I found an interesting docker image on Docker Hub, dedicated to TOR hidden service deployement. The README is self explainatory and worth a try. :wink:

https://hub.docker.com/r/goldy/tor-hidden-service/

Take your chance to create the new silk road :stuck_out_tongue:

Best,
Nitrax

10 Likes

Hm… frankly I’m not convinced that you need Docker to solve such a simple task. For instance, on Arch Linux it’s as simple as:

  1. Install nginx or any service you need to hide:
sudo pacman -S nginx
sudo systemctl enable nginx
sudo systemctl start nginx
  1. Install tor:
sudo pacman -S tor torsocks
  1. Modify /etc/tor/torrc:
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
# optional: one more service
HiddenServicePort 22 127.0.0.1:22
  1. Start tor service automatically:
sudo systemctl enable tor
sudo systemctl start tor
  1. Don’t forget to backup /var/lib/tor/hidden_service/
7 Likes

Thank you for this. Good read

Why would you need Docker for Tor hidden service? I think it adds only complexity, rendering it more insecure, than it would be with a normal hidden service.

Thanks for the writeup. For those that are in the know like this. Those that don’t ask why :wink:

Yep…I’ll take that bullet… Hit me with the why. I can see how the convenience of spinning this up and destroying at will could be super handy but what am I missing that “those who know” know… ?