doc/torhiddenservice.md
2014-05-13 10:59:34 +02:00

651 B

Using Yunohost as a Tor Hidden Service

See https://www.torproject.org/docs/tor-hidden-service.html.en

## Installing Tor

apt-get install tor 

## Configuring our hidden service

Edit /ect/tor/torrc, and add these lines:

HiddenServiceDir  /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
HiddenServicePort 443 127.0.0.1:443

## Restart Tor

service tor restart

Get your Tor Hidden Service hostname

cat /path/to/hidden_service/keys/hostname

Your domain looks like random123456789.onion

Add the .onion domain to Yunohost

yunohost domain add random123456789.onion