3 ms·
Do you have a guide to doing that? I would love to host some stuff on Tor just because.
by celticninja 9y ago
Do you have a guide to doing that? I would love to host some stuff on Tor just because.
- jstanley 9y agoHere you go: https://www.torproject.org/docs/tor-hidden-service.html.en https://www.torproject.org/docs/tor-hidden-service.html.en It's dead easy. Setup a web server basically like normal, but make sure it's listening only on loopback if that's important to you. Then install tor, and add a couple of lines to the torrc and restart tor. HiddenServiceDir /usr/local/etc/tor/hidden_service/ HiddenServicePort 80 127.0.0.1:8080 The keypair will be generated and you'll find the onion address in /usr/local/etc/tor/hidden_service/hostname, and it'll forward all traffic to 127.0.0.1:8080. You can run as many hidden services as you like on the same tor instance, with different onion addresses, and forwarding to different places.
- dmix 9y agoHow have you found long term maintenance of running these services? ie, running into random breakage and spending time debugging the system vs an nginx box or something... Is it set-it-and-forget-it type of system? I've always wanted to set up onion addresses but I'm always wary to open up a new bag of worms for my personal projects. The fact it sounds so easy is encouraging.
- jstanley 9y agoYes, it's set-and-forget. It still runs nginx, it's basically the same as running a clearnet site. I've not experienced any random breakages.