I am using Ubuntu eoan. Here is what I did:
- Uncommented
#HiddenServiceDir /var/lib/tor/hidden_service/
and#HiddenServicePort 80 127.0.0.1:80
in/etc/tor/torrc
- Restarted
tor
service by usingsudo service tor restart
- Ran
sudo nano /var/lib/tor/hidden_service/hostname
After I ran sudo nano /var/lib/tor/hidden_service/hostname
, nano didn't show any text. I also tried this with gedit
, and the output was the same. So I opened file explorer and went to /var/lib/tor
, and the directory was empty. What did I do wrong and how do I fix this?
/var/log/tor/
if there are any files (log
,notices.log
, etc.)? If so, please open it. Are there any lines which start withWARN
? Please edit your question and copy them into the question. They can help to find the issue.sudo journalctl -ef [email protected]
and restart Tor (sudo systemctl restart tor
). Do you see error messages?