1
Fork 0
mirror of https://git.lolcat.ca/lolcat/4get.git synced 2024-12-24 23:56:34 -05:00
4get/docs/tor.md

17 lines
704 B
Markdown
Raw Normal View History

2024-02-25 18:56:28 -05:00
# 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
```
2024-02-26 08:52:31 -05:00
5. Restart the tor service using `service tor restart`
2024-02-25 18:56:28 -05:00
6. Wait for a while...
7. Run `cat /var/lib/tor/4get/hostname`. That is your onion address!
2024-02-26 11:31:52 -05:00
# Specify your own tor address