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,630
  • 5
  • 35
  • 116
Anonymousscum
  • 141
  • 2
  • 7

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