mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-08 17:43:07 -05:00
670 B
670 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
HiddenServiceDir
andHiddenServicePort
, uncomment those 2 lines and set them like this:HiddenServiceDir /var/lib/tor/4get HiddenServicePort 80 127.0.0.1:80
- Start the tor service using
systemctl start tor
- Wait for a while...
- Run
cat /var/lib/tor/4get/hostname
. That is your onion address!