TOR
TOR⚑
Configuration⚑
Hidden services⚑
- Enable
HiddenServiceDir
and at least oneHiddenServicePort
in /etc/tor/torrc. - Then create the
HiddenServiceDir
and give it the proper permissions, for example:mkdir /var/lib/tor/hidden_service/ chown debian-tor:debian-tor /var/lib/tor/hidden_service/ chmod 0700 /var/lib/tor/hidden_service/
- Restart the
tor
service.
You can get the hostname (.onion) from HiddenServiceDir
/hostname.
Custom onion hostname⚑
To get a customized .onion url you can use Shallot.
Debug⚑
Check if Tor is working from the command line⚑
curl --socks5 localhost:9050 --socks5-hostname localhost:9050 -s https://check.torproject.org/ | cat | grep -m 1 Congratulations | xargs