Hi. I’m kind of an old fart trying to learn some new tricks.“xl33t” as in, “used ta be l33t.” Now I’m trying to create a hidden service on a whonix gateway/workstation.
“Onion Services - Whonix” seems to be a good place to start but after following the instructions to the limit of my ability, I still can’t connect to localhost:8080 from the workstation. I don’t really know how to configure a webserver and counted on that tutorial being all inclusive. I am prepared to start with a vanilla whonix install if someone can point me in the right direction. I need a step-by-step tutorial including the setup of the webserver. Lighttpd was suggested, so I’d like to start there if possible. I can be reached at xl33t@mail.i2p.
Steps I’ve taken:
On gateway:
/etc/tor/torrc
added
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 192.168.0.11:8080
restarted tor, indeed, entire gateway.
Grabbed the URL *******.onion, and bak’d the private key.
On Workstation:
Got lighttpd, edited it’s lighttpd.conf to point to a user controlled directory and port 8080.
server.document-root = “/home/user/webdocs/”
server.upload-dirs = ( “/var/cache/lighttpd/uploads” )
server.errorlog = “/var/log/lighttpd/error.log”
server.pid-file = “/var/run/lighttpd.pid”
server.username = “www-data”
server.groupname = “www-data”
server.port = 8080
Left everything else alone. Please help.