0

I have followed a few tutorials on setting up the Tor service. For some reason I can't get it on line.

closed as unclear what you're asking by DJCrashdummy, Jens Kubieziel May 19 at 21:12

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    You need to give a question, the steps you took, and the problem you’re having. Otherwise no one can help you. – Steve May 2 at 19:26
  • I will answer soon – Linus Strand May 3 at 5:22
  • Got it working! How do I add the gpg and sources and why should I do it? – Linus Strand May 5 at 7:12
2

There may be several error due to the configuration.

1) run tor in terminal. Check the output. If it says cannot bind tor, there may be another instance of tor is running. try stop the tor service by:

sudo service stop tor

2) After running tor successfully, check what configuration file is read by tor. Maybe you have edited the wrong configuration file. These two files are the common files:

/etc/tor/torrc

/var/lib/tor/torrc

You should add these two lines to the torrc:

HiddenServiceDir THE_DIRECTORY_FOR_PRIVATEKEY_AND_HOSTNAME
HiddenServicePort 80 127.0.0.1:80

Which first lines indicated the directory name for your hidden service (private key and host name), the second line indicates the binding, for example, every connection to port 80 of your hidden service will be forwarded to 127.0.0.1:80.

3) Make sure that your hidden server is running, For example if you have configured a hidden web service at port 80 (127.0.0.1:80), be sure that the web server is running and is available.

Any further information will help to solve your problem.

Not the answer you're looking for? Browse other questions tagged or ask your own question.