Edit: Upon further research, I was confusing Tor Browser, with Tor. I have Tor Browser installed, but not Tor, so I guess I could follow that tutorial to install it. I thought Tor Browser included the Tor service which you could run separately but you need to install it yourself. I still need a proper tutorial tho.
Good, you've figured out your first mistake. That's why it is called Browser! It is a standalone and separate project that uses TOR and is different from the global tor service. Which Linux version are you using?
Last time I did this for my servers I used something like this, check it out:
https://ubuntuhandbook.org/index.php/2021/01/install-tor-tor-browser-ubuntu-20-10-20-04/. It should be pretty straightforward. Let me know if you manage to do it.
proxy=127.0.0.1:9050
listen=1
listenonion=1
But some use the tor service, and have to register some sort of cookie, I don't know something weird that also involves giving your login and password to this cookie.
There are two difference here:
- 1) TOR in "client" mode, which would be connecting through the proxy as you have written above. This method does not have any authentication. If I remember correctly, this method would have you only as a client on the TOR network and not a full peer that others can reach.
- 2) Authenticated mode, more for persistent use i.e. running a full node that others can reach and download data from.