I'm trying to test creating a prototype hidden service with
nginx on Debian.
torrc file appears to be correct, has no problem being parsed by
tor and the
tor service is 100% boostrapped and running.
torrc looks like this:
HiddenServiceDir /var/lib/tor/nginx/ HiddenServicePort 80 127.0.0.1:81
Nginx is also running fine and seems to be correctly configured (as per a guide) to the corresponding port. I can check the system for messages from both
nginx without finding anything clearly out of order, yet the generated
.onion URI doesn't resolve.
How can I narrow down where the failure is occurring?
Other steps tried:
- lots of reloading, restart, stopping, and starting the services
- tried toggling the
nginxlistening port and corresponding
torrcport between 81, 80, 8081, 8080
- rebooting the server
- making sure other servers like
apache2are not installed
- manually running the
torcommand instead of as a service
- changing the Data Directory several times and generating new
- temporarily disabling
ufwto make sure it's not interferring
I have a feeling if I were better with Wireshark or some packet tracer that I could narrow down the failure that way, but I'd need the steps broken down for me.