aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tor.md
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-02-27 04:27:18 +0000
committerlolcat <will@lolcat.ca>2024-02-27 04:27:18 +0000
commit5143d95014ac50a42cfe3e3b6c0a2e8466adf953 (patch)
tree5cd419ad1d5e530fd763114209774c848b86fe2b /docs/tor.md
parentba5cd270071023dff45151adb498974a47c53b80 (diff)
parenta20d4de1e4d1a00c0d152136e5d7cd81481ace7b (diff)
Merge branch 'master' into feature/fix_parse_instances
Diffstat (limited to 'docs/tor.md')
-rw-r--r--docs/tor.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/tor.md b/docs/tor.md
new file mode 100644
index 0000000..b29ac3d
--- /dev/null
+++ b/docs/tor.md
@@ -0,0 +1,16 @@
+# Tor setup
+This guide assumes that there is already a configured webserver sitting on port 80 waiting for localhost connections. The <a href="https://git.lolcat.ca/lolcat/4get/src/branch/master/docs/apache2.md">apache2 guide</a> 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. Restart the tor service using `service tor restart`
+6. Wait for a while...
+7. Run `cat /var/lib/tor/4get/hostname`. That is your onion address!
+
+# Specify your own tor address
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage