2

Where to find a torrc file for configuring a hidden service within tails? I mean I cannot see the torrc file with the following lines like this:

"# this section is for hidden services#"
7
  • What operating system are you using? If you are GNU/Linux, for example an Ubunut server, the file is /etc/tor/torrc.
    – user66
    Commented Jan 22, 2015 at 12:49
  • Does this question help you: tor.stackexchange.com/q/1065/88
    – Jens Kubieziel
    Commented Jan 22, 2015 at 12:57
  • @LutzHorn I am using tails Commented Jan 23, 2015 at 11:32
  • Do you want to use Tails to run a hidden service?
    – user66
    Commented Jan 23, 2015 at 11:33
  • @LutzHorn yes and also on my windows 7 OS the torc file is different than the one described for hidden service configuration on torproject.org .I cannot find the lines for Hidden service configuartion in that torc file. Commented Jan 23, 2015 at 11:39

2 Answers 2

2

From a ticket:

running a hiddenservice from Tails is not (yetç in our design goals.

https://labs.riseup.net/code/issues/6601

0

The torrc file is in /usr/share/tor/tor-service-defaults-torrc. You can add a hidden service with lines like these:

TORRC=/usr/share/tor/tor-service-defaults-torrc
echo HiddenServiceDir /var/lib/tor/hidden_service >> $TORRC
echo HiddenServicePort 80 127.0.0.1:80 >> $TORRC

You also have to allow connections to it in iptables:

iptables -I OUTPUT -d 127.0.0.1/32 -o lo -p tcp -m tcp --dport 80 --tcp-flags FIN,SYN,RST,ACK SYN -m owner --uid-owner debian-tor -j ACCEPT

Adding this feature to Tails is currently a work in progress, see this ticket for more information.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .