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#"
Jens Kubieziel
  • 8,570
  • 5
  • 33
  • 115
Anonymousscum
  • 141
  • 2
  • 7
  • What operating system are you using? If you are GNU/Linux, for example an Ubunut server, the file is /etc/tor/torrc. –  Jan 22 '15 at 12:49
  • Does this question help you: https://tor.stackexchange.com/q/1065/88 – Jens Kubieziel Jan 22 '15 at 12:57
  • @LutzHorn I am using tails – Anonymousscum Jan 23 '15 at 11:32
  • Do you want to use Tails to run a hidden service? –  Jan 23 '15 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. – Anonymousscum Jan 23 '15 at 11:39
  • Please don't mix configuration questions for Tails an Windows 7. If you have a question about configuring a hidden service on Windows 7, please create a new question. –  Jan 23 '15 at 11:41
  • @LutzHorn ok but still i havent got an answer about finding and siting a torc file so first i can run it on a local server (XAMPP) for testing purposes.Tell me how to find it on tails? – Anonymousscum Jan 23 '15 at 11:45

2 Answers2

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.

segfault
  • 1
  • 1