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#"
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#"
From a ticket:
running a hiddenservice from Tails is not (yetç in our design goals.
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.