From 1536777c6417db32173a6ef8e151ab0be5cd7830 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 25 Feb 2024 18:56:28 -0500 Subject: added documentation --- docs/tor.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/tor.md (limited to 'docs/tor.md') diff --git a/docs/tor.md b/docs/tor.md new file mode 100644 index 0000000..2865348 --- /dev/null +++ b/docs/tor.md @@ -0,0 +1,14 @@ +# 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. + +1. Login as `root`. +2. Install `tor`. +3. Edit `/etc/tor/torrc` +4. Go to the line that contains `HiddenServiceDir` and `HiddenServicePort`, uncomment those 2 lines and set them like this: + ``` + HiddenServiceDir /var/lib/tor/4get + HiddenServicePort 80 127.0.0.1:80 + ``` +5. Start the tor service using `systemctl start tor` +6. Wait for a while... +7. Run `cat /var/lib/tor/4get/hostname`. That is your onion address! -- cgit v1.2.3