mirror of
https://git.bakhai.co.in/FbIN/fossq.git
synced 2026-04-21 20:56:30 +05:30
711 B
711 B
Tor setup
This guide assumes that there is already a configured webserver sitting on port 80 waiting for localhost connections. The apache2 guide guides you through this.
- Login as
root. - Install
tor. - Edit
/etc/tor/torrc - Go to the line that contains
HiddenServiceDirandHiddenServicePort, uncomment those 2 lines and set them like this:HiddenServiceDir /var/lib/tor/fossq HiddenServicePort 80 127.0.0.1:80 - Restart the tor service using
service tor restart - Wait for a while...
- Run
cat /var/lib/tor/fossq/hostname. That is your onion address!