This is a tutorial on how to securely host and run your own Tor hidden service. First thing that's required is your own web server and secondly you need to configure the server in such a way as to prevent any possible information leaks (most importantly your location!). This tutorial makes use of whonix , which means any accidental leaks (DNS, IP etc.) are highly unlikely. For even better security consider using a dedicated machine for running your web server. So go ahead, download Whonix Workstation + Gateway . Download VirtualBox , import the .ova files and fire up your machines. On the Whonix Gateway sudo nano /etc/tor/torrc #make sure to add the following 2 lines to file, save and exit HiddenServiceDir /var/lib/tor/hidden_service/ HiddenServicePort 80 10.152.152.11:80 Restart Tor sudo service tor@default reload A a hostname (e.g. 123xuadfuhqwer.onion) has been created! You can obtain it by displaying the contents of the "hostname" file. sudo cat
A blog about Linux, Debian, Ubuntu, Raspberry Pi and Python.